]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: webContents.savePage is placed at wrong place
authorCheng Zhao <zcbenz@gmail.com>
Thu, 19 Nov 2015 13:10:50 +0000 (21:10 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 19 Nov 2015 13:10:50 +0000 (21:10 +0800)
docs/api/web-contents.md

index be22d947c7524e117fb6394ba25b0c1167cbe759..2b2efb7d47ba0fe88e28da870ae4d23ba754198c 100644 (file)
@@ -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.