Interface: OpenWindowOptions
Properties
allowAnyOrigin?
optional allowAnyOrigin?: boolean;
Dev only: accept messages from any origin and post with targetOrigin '*'.
features?
optional features?: string;
window.open feature string, e.g. 'popup,width=480,height=640'.
localWindow?
optional localWindow?: WindowEventTarget;
Test seam. Defaults to the global window.
openFn?
optional openFn?: (url, target, features?) => WindowLike | null;
Test seam. Defaults to window.open.
Parameters
| Parameter | Type |
|---|---|
url | string |
target | string |
features? | string |
Returns
WindowLike | null
peerOrigin
peerOrigin: string;
Exact origin of the page being opened, e.g. 'https://pay.example.com'. Required.
readyTimeoutMs?
optional readyTimeoutMs?: number;
Give up on the ready handshake after this long. Default 15000ms.