Constructors
Properties
Accessors
Methods
Static
addContextCreatedCallback
- addContextCreatedCallback(callback): void
Parameters
- callback: ContextCallback
Returns void
Static
addContextDestroyedCallback
- addContextDestroyedCallback(callback): void
Parameters
- callback: ContextCallback
Returns void
Static
registerCallback
- registerCallback(evt, callback): void
Returns void
Static
unregisterCallback
- unregisterCallback(evt, callback): void
Returns void
Use to register to various Needle Engine context events and to get access to all current instances
e.g. when being created in the DOM
Example