📝 Add document for workspace visible APIs.
This commit is contained in:
parent
476b61322f
commit
296d5c4515
1 changed files with 14 additions and 0 deletions
|
@ -586,6 +586,20 @@ can still bring up the menu bar by pressing the single `Alt` key.
|
||||||
|
|
||||||
Returns whether the menu bar is visible.
|
Returns whether the menu bar is visible.
|
||||||
|
|
||||||
|
### BrowserWindow.setVisibleOnAllWorkspaces(visible)
|
||||||
|
|
||||||
|
* `visible` Boolean
|
||||||
|
|
||||||
|
Sets whether the window should be visible on all workspaces.
|
||||||
|
|
||||||
|
**Note:** This API is only available on Mac/Linux.
|
||||||
|
|
||||||
|
### BrowserWindow.isVisibleOnAllWorkspaces()
|
||||||
|
|
||||||
|
Returns whether the window is visible on all workspaces.
|
||||||
|
|
||||||
|
**Note:** This API is only available on Mac/Linux.
|
||||||
|
|
||||||
## Class: WebContents
|
## Class: WebContents
|
||||||
|
|
||||||
A `WebContents` is responsible for rendering and controlling a web page.
|
A `WebContents` is responsible for rendering and controlling a web page.
|
||||||
|
|
Loading…
Reference in a new issue