openUrlInPopup

Requests Front to open a URL in a popup

function openUrlInPopup(url: string, options: object, cancelToken?: CancelToken): Promise<void>;

Parameters

ParameterTypeDescription
urlStringURL to open.
optionsObjectOptions for the popup window.
options.heightIntegerHeight of the window.
options.widthIntegerWidth of the window.
cancelTokenCancel tokenToken to cancel the request.

Return value

The function returns a Promise that resolves when the request has been received by Front.