LP1739277 Angular org selector style callback
authorBill Erickson <berickxx@gmail.com>
Tue, 30 Jul 2019 16:12:12 +0000 (12:12 -0400)
committerKyle Huckins <khuckins@catalyte.io>
Tue, 13 Aug 2019 15:22:05 +0000 (15:22 +0000)
commit403772684a8857cc4deb4ba204807edbf8e33bd4
treeebe9d0a2596f38c645816cce35c740046610fc26
parent53dd40504d92f3092e0bf98a94fe4592a0dc49c0
LP1739277 Angular org selector style callback

Allow the caller of an <eg-org-select> to pass a function which is
called against each org unit in the list to determine what CSS class(es)
should be applied to the org unit label in the list.

Includes sandbox example.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/org-select/org-select.component.html
Open-ILS/src/eg2/src/app/share/org-select/org-select.component.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts