From ece50c036d0961e744dba3b128e4ef91b3030789 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Thu, 15 Jun 2017 10:19:27 -0700 Subject: [PATCH] Document webContents.focus() --- docs/api/web-contents.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index e6539880e6..563e041282 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -611,6 +611,10 @@ Returns `String` - The title of the current web page. Returns `Boolean` - Whether the web page is destroyed. +#### `contents.focus()` + +Focuses the web page. + #### `contents.isFocused()` Returns `Boolean` - Whether the web page is focused.