Mark isDestroyed as public on BrowserWindow/WebContents
This commit is contained in:
parent
15e6028f38
commit
05ab7d39ad
2 changed files with 9 additions and 1 deletions
|
@ -572,6 +572,10 @@ Removes focus from the window.
|
|||
|
||||
Returns a boolean, whether the window is focused.
|
||||
|
||||
#### `win.isDestroyed()`
|
||||
|
||||
Returns a boolean, whether the window is destroyed.
|
||||
|
||||
#### `win.show()`
|
||||
|
||||
Shows and gives focus to the window.
|
||||
|
|
|
@ -536,6 +536,10 @@ console.log(currentURL)
|
|||
|
||||
Returns the title of the current web page.
|
||||
|
||||
#### `contents.isDestroyed()`
|
||||
|
||||
Returns a Boolean, whether the web page is destroyed.
|
||||
|
||||
#### `contents.isFocused()`
|
||||
|
||||
Returns a Boolean, whether the web page is focused.
|
||||
|
|
Loading…
Reference in a new issue