ElectronNewWindowWebContentsEvent
Unofficial
The event emitted for the deprecated new-window event.
Import:
import type { ElectronNewWindowWebContentsEvent } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronNewWindowWebContentsEvent extends ElectronEventExtends: ElectronEvent
Properties
| Property | Type | Description | |
|---|---|---|---|
| newGuest? | ElectronBrowserWindow | The new window instance that must be set when the default window creation is prevented. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| preventDefault() | void | Prevents the default action associated with the event. (Inherited from ElectronEvent) |