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>
Mon, 15 Mar 2021 17:22:05 +0000 (17:22 +0000)
commit34ed707c4a8126e4d6fac980e4f1de313899d06e
tree2f0883ed6824a934a6604ec01e803e249c288ea8
parent5050fe7178c74bb8cd59bccaebd8561b0d4d5f38
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