This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A basic pub-sub mechanism for sibling component communication | |
* | |
* TODO - adopt standard flexipage sibling communication mechanism when it's available. | |
*/ | |
const events = {}; | |
/** | |
* Registers a callback for an event |