From: Jessica Lord Date: Thu, 10 Sep 2015 19:19:37 +0000 (-0700) Subject: Update links to web-contents.md X-Git-Tag: v0.32.3~16^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=aae2d82c28022fa7655a53314299104e59293217;p=electron.git Update links to web-contents.md --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 7aa97f75..fb3e7fd4 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -263,7 +263,7 @@ Returns the window that is focused in this application. ### `BrowserWindow.fromWebContents(webContents)` -* `webContents` [WebContents](#webcontents) +* `webContents` [WebContents](web-contents.md) Find a window according to the `webContents` it owns. diff --git a/docs/api/ipc-main-process.md b/docs/api/ipc-main-process.md index 41d4d712..98d9c3c2 100644 --- a/docs/api/ipc-main-process.md +++ b/docs/api/ipc-main-process.md @@ -7,7 +7,7 @@ a renderer will be emitted to this module. ## Sending Messages It is also possible to send messages from the main process to the renderer -process, see [WebContents.send](browser-window.md#webcontents-send-channel-args) +process, see [WebContents.send](web-contents.md#webcontentssendchannel-args) for more information. - When sending a message, the event name is the `channel`. diff --git a/docs/api/remote.md b/docs/api/remote.md index 5a048fc0..1c5c831a 100644 --- a/docs/api/remote.md +++ b/docs/api/remote.md @@ -21,7 +21,7 @@ win.loadUrl('https://github.com'); ``` **Note:** for the reverse (access the renderer process from the main process), -you can use [webContents.executeJavascript](browser-window.md#webcontents-executejavascript-code). +you can use [webContents.executeJavascript](web-contents.md#webcontentsexecutejavascriptcode-usergesture). ## Remote Objects diff --git a/docs/api/web-view-tag.md b/docs/api/web-view-tag.md index fed2bd14..4647413b 100644 --- a/docs/api/web-view-tag.md +++ b/docs/api/web-view-tag.md @@ -355,7 +355,7 @@ Prints webview's web page as PDF, Same with `webContents.printToPDF(options, cal Send `args..` to guest page via `channel` in asynchronous message, the guest page can handle it by listening to the `channel` event of `ipc` module. -See [WebContents.send](browser-window.md#webcontentssendchannel-args) for +See [WebContents.send](web-contents.md#webcontentssendchannel-args) for examples. ## DOM events