- Preparing search index...
- The search index is not available
desktopJS
Methods
addListener
- addListener(eventName: string, listener: ((event: EventArgs) => void)): EventEmitter
-
Parameters
-
eventName: string
-
listener: ((event: EventArgs) => void)
emit
- emit(eventName: string, eventArgs: EventArgs): void
-
Returns void
listeners
- listeners(eventName: string): ((event: EventArgs) => void)[]
-
Returns ((event: EventArgs) => void)[]
Protected
postProcessArgs
- postProcessArgs(args: EventArgs): void
-
Returns void
Protected
preProcessArgs
- preProcessArgs(args: EventArgs): void
-
Returns void
Protected
registerAndWrapListener
- registerAndWrapListener(eventName: string, listener: ((event: EventArgs) => void)): ((event: EventArgs) => void)
-
Parameters
-
eventName: string
-
listener: ((event: EventArgs) => void)
Returns ((event: EventArgs) => void)
removeListener
- removeListener(eventName: string, listener: ((event: EventArgs) => void)): EventEmitter
-
Parameters
-
eventName: string
-
listener: ((event: EventArgs) => void)
Protected
unwrapAndUnRegisterListener
Protected
wrapListener
- wrapListener(eventName: string, listener: ((event: EventArgs) => void)): ((event: EventArgs) => void)
-
Parameters
-
eventName: string
-
listener: ((event: EventArgs) => void)
Returns ((event: EventArgs) => void)
Static
addListener
- addListener(eventName: string, listener: ((event: EventArgs) => void)): void
-
Parameters
-
eventName: string
-
listener: ((event: EventArgs) => void)
Returns void
Static
listeners
- listeners(eventName: string): ((event: EventArgs) => void)[]
-
Returns ((event: EventArgs) => void)[]
Static
removeListener
- removeListener(eventName: string, listener: ((event: EventArgs) => void)): void
-
Parameters
-
eventName: string
-
listener: ((event: EventArgs) => void)
Returns void
Set message bus used for static event broadcasting across windows.