Requests Front to open a URL in a popup
function openUrlInPopup(url: string, options: object, cancelToken?: CancelToken): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
url | String | URL to open. |
options | Object | Options for the popup window. |
options.height | Integer | Height of the window. |
options.width | Integer | Width of the window. |
cancelToken | Cancel token | Token to cancel the request. |
Return value
The function returns a Promise that resolves when the request has been received by Front.