From e1459b7db7755273c847d995faaef70d4a8e1f19 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 13 Jul 2016 14:20:33 -0700 Subject: [PATCH] Doc webContents.isFocused --- 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 dde77652b29f..8747b0bc722a 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -463,6 +463,10 @@ let currentURL = win.webContents.getURL(); Returns the title of the current web page. +### `webContents.isFocused()` + +Returns a Boolean, whether the web page is focused. + ### `webContents.isLoading()` Returns whether web page is still loading resources.