Skip to content

WindowOpenHandlerResult

WindowOpenHandlerResult = { action: "deny"; } | { action: "allow"; overrideBrowserWindowOptions?: Partial<Electron.BrowserWindowConstructorOptions>; }

Defined in: main/WindowManager.ts:28

Result returned by a window open handler. Matches Electron’s setWindowOpenHandler return type.