From: Cheng Zhao Date: Tue, 22 Sep 2015 12:13:49 +0000 (+0800) Subject: docs: allowpopups attribute X-Git-Tag: v0.33.2~24^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=9cbdde2ebab977aae6b5ee465bfcabcfc07feb73;p=electron.git docs: allowpopups attribute --- diff --git a/docs/api/web-view-tag.md b/docs/api/web-view-tag.md index 8eb3857a..7b4aa2eb 100644 --- a/docs/api/web-view-tag.md +++ b/docs/api/web-view-tag.md @@ -149,6 +149,14 @@ This value can only be modified before the first navigation, since the session of an active renderer process cannot change. Subsequent attempts to modify the value will fail with a DOM exception. +### `allowpopups` + +```html + +``` + +If "on", the guest page will be allowed to open new windows. + ## Methods The `webview` tag has the following methods: @@ -496,7 +504,7 @@ Returns: * `url` String * `frameName` String * `disposition` String - Can be `default`, `foreground-tab`, `background-tab`, - `new-window` and `other` + `new-window` and `other`. Fired when the guest page attempts to open a new browser window.