From: Cheng Zhao Date: Thu, 19 Nov 2015 13:10:50 +0000 (+0800) Subject: docs: webContents.savePage is placed at wrong place X-Git-Tag: v0.35.1~6^2~4 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=dd8ef33e42e46bf5d80776b77ab457d1761bbc33;p=electron.git docs: webContents.savePage is placed at wrong place --- diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index be22d947..2b2efb7d 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -678,17 +678,6 @@ is in 32bit ARGB format). End subscribing for frame presentation events. -## Instance Properties - -`WebContents` objects also have the following properties: - -### `webContents.devToolsWebContents` - -Get the `WebContents` of DevTools for this `WebContents`. - -**Note:** Users should never store this object because it may become `null` -when the DevTools has been closed. - ### `webContents.savePage(fullPath, saveType, callback)` * `fullPath` String - The full file path. @@ -711,3 +700,14 @@ win.webContents.on('did-finish-load', function() { }); }); ``` + +## Instance Properties + +`WebContents` objects also have the following properties: + +### `webContents.devToolsWebContents` + +Get the `WebContents` of DevTools for this `WebContents`. + +**Note:** Users should never store this object because it may become `null` +when the DevTools has been closed.