Skip to content

ElectronDidCreateWindowDetails

Unofficial

Details about a window created via window.open.

Import:

import type { ElectronDidCreateWindowDetails } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronDidCreateWindowDetails

Properties

PropertyTypeDescription
disposition'background-tab' | 'default' | 'foreground-tab' | 'new-window' | 'other' | 'save-to-disk'The disposition used when creating the window.
frameNamestringName given to the created window in the window.open() call.
optionsBrowserWindowConstructorOptionsThe options used to create the BrowserWindow.
postBody?ElectronPostBodyThe post data that will be sent to the new window, if any.
referrerElectronReferrerThe referrer that will be passed to the new window.
urlstringURL for the created window.