Constructors
constructor
-
Parameters
-
currentWindow: Window
-
parentWindow: Window
-
Properties
Private _currentWindow
_currentWindow: Window
Private _parentWindow
_parentWindow: Window
Private _resolvers
_resolvers: any
Methods
Private _addResolver
- _addResolver(resolver: Function): string
-
Parameters
Returns string
Private _eventHandler
- _eventHandler(e: MessageEvent): void
send
- send(cmd: string, params?: undefined | object): Promise<any>
-
Parameters
-
cmd: string
-
Optional params: undefined | object
Returns Promise<any>