ElectronDidCreateWindowDetails
Unofficial
Details about a window created via window.open.
Import:
import type { ElectronDidCreateWindowDetails } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronDidCreateWindowDetailsProperties
| Property | Type | Description | |
|---|---|---|---|
| disposition | 'background-tab' | 'default' | 'foreground-tab' | 'new-window' | 'other' | 'save-to-disk' | The disposition used when creating the window. | |
| frameName | string | Name given to the created window in the window.open() call. | |
| options | BrowserWindowConstructorOptions | The options used to create the BrowserWindow. | |
| postBody? | ElectronPostBody | The post data that will be sent to the new window, if any. | |
| referrer | ElectronReferrer | The referrer that will be passed to the new window. | |
| url | string | URL for the created window. |