docs: Defaults of safeDialogs

This commit is contained in:
Cheng Zhao 2018-03-06 11:21:40 +09:00
parent 7dec3c9320
commit 26a071ea00

View file

@ -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