Closed scottwittenburg closed 4 years ago
Nice! I am thinking that would a even more generic event bus make sense? The viewer can expose a standard EventEmitter interface(with functions including on, once, off, emit etc.), one can subscribe to many different events. Not only pick value, but also view change, camera position change etc.
@scottwittenburg nice!
@oeway thanks for the suggestion!
@scottwittenburg could you please look into providing subscriptions and exposing the EventEmitter
interface via the eventemitter2
package?
@scottwittenburg could you please look into providing subscriptions and exposing the
EventEmitter
interface via theeventemitter2
package?
Yes, will do. 👍
I noticed eventemitter3
is available -- I am guessing it is better than eventemitter2
;-).
Required API's for Juptyer
publicAPI.setLabelMap
Superceded by #289
@thewtex There's no other subscription management functionality in the store, but I put this one there so we would have it available to any of our components, as well as making it available to embedding applications. Let me know if a cleaner approach comes to mind.