The main service class to be used by a plug-in to establish a safe and secure communication to the COYO front end bridge. It acts as a unified interaction interface to all other plug-in handlers.
Creates a new instance of this class.
the plug-in source ID to use for requests
the new instance
Sends an initialization message to the parent window (i.e. COYO) and retrieves the response.
a maximum time to wait for the response
a promise holding the decoded and validated JWT claims
Starts to observe the HTML element that matches the given selectors and sends throttled update messages to COYO.
the selectors to target the HTML element
a disconnect handler to stop observing the HTML element
Connects the given callback listener to edit mode events coming from COYO.
a callback to be executed when a new edit mode message comes in
a disconnect handler to stop listening to events
Generated using TypeDoc