:memo: Add document for workspace visible APIs.
authorHaojian Wu <hokein.wu@gmail.com>
Thu, 26 Mar 2015 10:59:24 +0000 (18:59 +0800)
committerHaojian Wu <hokein.wu@gmail.com>
Thu, 26 Mar 2015 10:59:24 +0000 (18:59 +0800)
docs/api/browser-window.md

index a8456b5..f938640 100644 (file)
@@ -586,6 +586,20 @@ can still bring up the menu bar by pressing the single `Alt` key.
 
 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
 
 A `WebContents` is responsible for rendering and controlling a web page.