From: Haojian Wu Date: Thu, 26 Mar 2015 10:59:24 +0000 (+0800) Subject: :memo: Add document for workspace visible APIs. X-Git-Tag: v0.22.3~5^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=296d5c451575e5c977127403081c46bcfed80274;p=electron.git :memo: Add document for workspace visible APIs. --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index a8456b57..f9386406 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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.