From 5ab86cc2dfc5bb550ff42b66824f95a90862041d Mon Sep 17 00:00:00 2001 From: TAKAHASHI Kyohei Date: Mon, 30 May 2016 14:02:15 +0900 Subject: [PATCH] :memo: trivial change in web-view-tag.md There is a mistake about the information of `stopFindInPage`. [ci skip] --- docs/api/web-view-tag.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/api/web-view-tag.md b/docs/api/web-view-tag.md index b1d3aaead1e5..f99bb4fdb5a1 100644 --- a/docs/api/web-view-tag.md +++ b/docs/api/web-view-tag.md @@ -171,7 +171,7 @@ page is loaded, use the `setUserAgent` method to change the user agent. If "on", the guest page will have web security disabled. -### partition +### `partition` ```html @@ -445,8 +445,8 @@ obtained by subscribing to [`found-in-page`](web-view-tag.md#event-found-in-page * `action` String - Specifies the action to take place when ending [`.findInPage`](web-view-tag.md#webviewtagfindinpage) request. - * `clearSelection` - Translate the selection into a normal selection. - * `keepSelection` - Clear the selection. + * `clearSelection` - Clear the selection. + * `keepSelection` - Translate the selection into a normal selection. * `activateSelection` - Focus and click the selection node. Stops any `findInPage` request for the `webview` with the provided `action`. @@ -457,7 +457,7 @@ Prints `webview`'s web page. Same with `webContents.print([options])`. ### `.printToPDF(options, callback)` -Prints webview's web page as PDF, Same with `webContents.printToPDF(options, callback)` +Prints `webview`'s web page as PDF, Same with `webContents.printToPDF(options, callback)` ### `.send(channel[, arg1][, arg2][, ...])` @@ -628,7 +628,7 @@ webview.addEventListener('found-in-page', (e) => { webview.stopFindInPage('keepSelection'); }); -const rquestId = webview.findInPage('test'); +const requestId = webview.findInPage('test'); ``` ### Event: 'new-window'