LP#1831786: add demo of cross-tab communications
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 1 Apr 2019 22:35:51 +0000 (18:35 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 5 Jun 2019 18:01:22 +0000 (14:01 -0400)
commit7dd3d1547a588c27dcb0fa8569440b67b3dfbb73
tree96c895c2f56b2834dc3cf2af0ad0299c79ca6998
parent50d3e0435d6a74c903241f46f16b65c002bf8044
LP#1831786: add demo of cross-tab communications

This adds to the Angular sandbox page a demo of implementing
cross-tab communications using BroadcastChannel. To quote the
instructions added by this patch:

"To test, open this sandbox in a second browser tab.
Enter something in the input box below, then switch to the other tab
and click anywhere on the page. You should see the message that you
sent to the other browser tab."

Sponsored-by: MassLNC
Sponsored-by: Georgia Public Library Service
Sponsored-by: Indiana State Library
Sponsored-by: CW MARS
Sponsored-by: King County Library System
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts