Private
#m_Private
m_Private
m_Private
m_Private
m_Private
m_Protected
m_Private
m_Private
m_Private
m_Private
m_Static
Private
selfdefine a set of default handlers in one call
define a set of listeners in one call
listen for an event
callback to call
handle an event one time
callback to call when event is signaled
Promise if callback is null
take care with that because if the event is never fired and you await it, the system may overflow
remove the previous default handler installed for an event
event name
callback handler to remove (must be the same as in setDefaultHandler)
set the event default handler
name of the event
callback to call when the event is not handled (and preventDeault has not been called)
Static
instancethe application singleton
Generated using TypeDoc
Represents an x4 application, which is typically a single page app. You should inherit Application to define yours. Application derives from BaseComponent so you can use that to implement a global messaging system.
Example