Skip to content

Glossary: Desktop Apps with Electron and Tauri

action: "deny"

Also written: { action: "deny" }, setWindowOpenHandler

The value `setWindowOpenHandler` returns to block a new window. The handler runs before any window opens and must return `allow` or `deny`.

Where the book teaches it

Related terms

will-navigateshell.openExternal