Fix typo in option name

This commit is contained in:
Kevin Sawicki 2017-05-23 16:02:00 -07:00
parent dbd240a7cb
commit 6c520a5f40

View file

@ -48,7 +48,7 @@ origin preference.
### Use Native `window.open()`
If you want to use native `window.open()` implementation, pass `useNativeWindowOpen: true` in `webPreferences` option.
If you want to use native `window.open()` implementation, pass `nativeWindowOpen: true` in `webPreferences` option.
Native `window.open()` allows synchronous access to opened windows so it is convenient choice if you need to open a dialog or a preferences window.
The creation of the `BrowserWindow` is customizable in `WebContents`'s `new-window` event.