Skip to content

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 ElectronEvent

Extends: ElectronEvent

Properties

PropertyTypeDescription
newGuest?ElectronBrowserWindowThe new window instance that must be set when the default window creation is prevented.

Methods

MethodReturnsDescription
preventDefault()voidPrevents the default action associated with the event.
(Inherited from ElectronEvent)