From: Joseph Frazier <1212jtraceur@gmail.com> Date: Mon, 3 Oct 2016 05:54:07 +0000 (-0400) Subject: Fix webContents.findInPage links in docs X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d1c626a53bbb83ce92d1dab567c32de1a844332;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Fix webContents.findInPage links in docs --- diff --git a/docs-translations/ko-KR/api/web-contents.md b/docs-translations/ko-KR/api/web-contents.md index ed2b75f..8fbf890 100644 --- a/docs-translations/ko-KR/api/web-contents.md +++ b/docs-translations/ko-KR/api/web-contents.md @@ -309,7 +309,7 @@ Returns: * `matches` Integer (optional) - 일치하는 개수. * `selectionArea` Object (optional) - 첫 일치 부위의 좌표. -[`webContents.findInPage`](web-contents.md#webcontentsfindinpage) 요청의 결과를 +[`webContents.findInPage`] 요청의 결과를 사용할 수 있을 때 발생하는 이벤트입니다. #### Event: 'media-started-playing' @@ -755,7 +755,7 @@ CSS 코드를 현재 웹 페이지에 삽입합니다. #### `contents.stopFindInPage(action)` -* `action` String - [`webContents.findInPage`](web-contents.md#webcontentfindinpage) +* `action` String - [`webContents.findInPage`] 요청이 종료되었을 때 일어날 수 있는 작업을 지정합니다. * `clearSelection` - 선택을 취소합니다. * `keepSelection` - 선택을 일반 선택으로 변경합니다. @@ -1235,3 +1235,4 @@ win.webContents.debugger.sendCommand('Network.enable') 디버깅 타겟이 관련 이벤트를 발생시킬 때 마다 발생하는 이벤트입니다. [rdp]: https://developer.chrome.com/devtools/docs/debugger-protocol +[`webContents.findInPage`]: web-contents.md#contentsfindinpagetext-options diff --git a/docs-translations/zh-CN/api/web-contents.md b/docs-translations/zh-CN/api/web-contents.md index 3b27e23..658e7e5 100644 --- a/docs-translations/zh-CN/api/web-contents.md +++ b/docs-translations/zh-CN/api/web-contents.md @@ -248,7 +248,7 @@ var webContents = win.webContents; * `matches` Integer (可选) - 匹配数量. * `selectionArea` Object (可选) - 协调首个匹配位置. -当使用 [`webContents.findInPage`](web-contents.md#webcontentsfindinpage) 进行页内查找并且找到可用值得时候发出事件. +当使用 [`webContents.findInPage`] 进行页内查找并且找到可用值得时候发出事件. ### Event: 'media-started-playing' @@ -499,7 +499,7 @@ var currentURL = win.webContents.getURL(); ### `webContents.stopFindInPage(action)` * `action` String - 指定一个行为来接替停止 - [`webContents.findInPage`](web-contents.md#webcontentfindinpage) 请求. + [`webContents.findInPage`] 请求. * `clearSelection` - 转变为一个普通的 selection. * `keepSelection` - 清除 selection. * `activateSelection` - 获取焦点并点击 selection node. @@ -862,3 +862,4 @@ win.webContents.debugger.sendCommand("Network.enable"); 每当调试目标发出事件时发出. [rdp]: https://developer.chrome.com/devtools/docs/debugger-protocol +[`webContents.findInPage`]: web-contents.md#webcontentsfindinpagetext-options diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 2fdc499..2a9664f 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -312,7 +312,7 @@ Returns: * `selectionArea` Object - Coordinates of first match region. Emitted when a result is available for -[`webContents.findInPage`](web-contents.md#webcontentsfindinpage) request. +[`webContents.findInPage`] request. #### Event: 'media-started-playing' @@ -775,7 +775,7 @@ the request can be obtained by subscribing to #### `contents.stopFindInPage(action)` * `action` String - Specifies the action to take place when ending - [`webContents.findInPage`](web-contents.md#webcontentfindinpage) request. + [`webContents.findInPage`] request. * `clearSelection` - Clear the selection. * `keepSelection` - Translate the selection into a normal selection. * `activateSelection` - Focus and click the selection node. @@ -1261,3 +1261,4 @@ Emitted when debugging session is terminated. This happens either when Emitted whenever debugging target issues instrumentation event. [rdp]: https://developer.chrome.com/devtools/docs/debugger-protocol +[`webContents.findInPage`]: web-contents.md#contentsfindinpagetext-options