From 3ab22c61643e700040e4300e7af808402f1ffcd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BDitn=C3=BD?= Date: Mon, 10 Sep 2018 17:49:54 +0200 Subject: [PATCH] docs: specify BrowserWindow features passable to window.open --- docs/api/window-open.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/api/window-open.md b/docs/api/window-open.md index 13dd285ecf69..631455b113c4 100644 --- a/docs/api/window-open.md +++ b/docs/api/window-open.md @@ -24,7 +24,12 @@ Returns [`BrowserWindowProxy`](browser-window-proxy.md) - Creates a new window and returns an instance of `BrowserWindowProxy` class. The `features` string follows the format of standard browser, but each feature -has to be a field of `BrowserWindow`'s options. +has to be a field of `BrowserWindow`'s options. These are the features you can set via `features` string: `zoomFactor`, `nodeIntegration`, `preload`, `javascript`, `contextIsolation`, `webviewTag`. + +For example: +```js +window.open('https://github.com', '_blank', 'nodeIntegration=no') +``` **Notes:**