Rxova
Skip to content

OpenWindowOptions

optional allowAnyOrigin?: boolean;

Dev only: accept messages from any origin and post with targetOrigin ’*’.


optional features?: string;

window.open feature string, e.g. ‘popup,width=480,height=640’.


optional localWindow?: WindowEventTarget;

Test seam. Defaults to the global window.


optional openFn?: (url, target, features?) =>
| WindowLike
| null;

Test seam. Defaults to window.open.

ParameterType
urlstring
targetstring
features?string

| WindowLike | null


peerOrigin: string;

Exact origin of the page being opened, e.g. ‘https://pay.example.com’. Required.


optional readyTimeoutMs?: number;

Give up on the ready handshake after this long. Default 15000ms.