projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acedc3e
)
Improve docs for `will-attach-webview` event
author
Vadim Macagon
<vadim.macagon@gmail.com>
Fri, 10 Feb 2017 03:33:33 +0000
(10:33 +0700)
committer
GitHub
<noreply@github.com>
Fri, 10 Feb 2017 03:33:33 +0000
(10:33 +0700)
docs/api/web-contents.md
patch
|
blob
|
history
diff --git
a/docs/api/web-contents.md
b/docs/api/web-contents.md
index
d30a34f
..
7814365
100644
(file)
--- a/
docs/api/web-contents.md
+++ b/
docs/api/web-contents.md
@@
-516,6
+516,10
@@
Returns:
Emitted when a `<webview>`'s web contents is being attached to this web
contents. Calling `event.preventDefault()` will destroy the guest page.
+This event can be used to configure `webPreferences` for the `webContents`
+of a `<webview>` before it's loaded, and provides the ability to set settings
+that can't be set via `<webview>` attributes.
+
### Instance Methods
#### `contents.loadURL(url[, options])`