Properties
Private
callListeners
callListeners: any
Private
invokeCallback
invokeCallback: any
Private
listeners
listeners: any
Private
messageListener
messageListener: any
Private
parentOrigin
parentOrigin: any
Private
parentWindow
parentWindow: any
Private
showError
showError: any
Methods
deRegisterAllListeners
- deRegisterAllListeners(): void
Returns void
deRegisterListener
- deRegisterListener(id?, listener?): void
Parameters
Optional
id: string
Optional
listener: Listener
Returns void
listenOnce
- listenOnce<T>(id?): Promise<T>
Returns Promise<T>
registerListener
- registerListener(id, listener, callOnError?): void
Parameters
id: undefined | string
Optional
callOnError: boolean
Returns void
sendToParent
- sendToParent<S, T>(_message): void
Returns void
- sendToParent<S, T>(_message, _returnPromise): Promise<T>
Returns Promise<T>
Handler for window message events