mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
docs: Defaults of safeDialogs
This commit is contained in:
@@ -363,9 +363,9 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
||||
to `process.argv` in the renderer process of this app. Useful for passing small
|
||||
bits of data down to renderer process preload scripts.
|
||||
* `safeDialogs` Boolean (optional) - Whether to enable browser style
|
||||
consecutive dialog protection.
|
||||
consecutive dialog protection. Default is `false`.
|
||||
* `safeDialogsMessage` String (optional) - The message to display when consecutive
|
||||
dialog protection is triggered.
|
||||
dialog protection is triggered. Default is empty string.
|
||||
|
||||
When setting minimum or maximum window size with `minWidth`/`maxWidth`/
|
||||
`minHeight`/`maxHeight`, it only constrains the users. It won't prevent you from
|
||||
|
||||
Reference in New Issue
Block a user