Link to window level macOS docs
authorKevin Sawicki <kevinsawicki@gmail.com>
Wed, 28 Sep 2016 16:20:22 +0000 (09:20 -0700)
committerKevin Sawicki <kevinsawicki@gmail.com>
Wed, 28 Sep 2016 16:20:22 +0000 (09:20 -0700)
docs/api/browser-window.md

index fa3fd5236224d6f1bfe22f454be029aa68526551..14a51bdb3ca36f0a324449ff698784dca3fb5f0e 100644 (file)
@@ -826,8 +826,10 @@ On Linux always returns `true`.
 #### `win.setAlwaysOnTop(flag[, level])`
 
 * `flag` Boolean
-* `level` String (optional) _macOS_ - Options include (`normal`, `floating`, `torn-off-menu`,
-`modal-panel`, `main-menu`, `status`, `pop-up-menu`, `screen-saver`, `dock`). Default is `floating`.
+* `level` String (optional) _macOS_ - Values include `normal`, `floating`,
+  `torn-off-menu`, `modal-panel`, `main-menu`, `status`, `pop-up-menu`,
+  `screen-saver`, and `dock`. The default is `floating`. See the
+  [macOS docs][window-levels] for more details.
 
 Sets whether the window should show always on top of other windows. After
 setting this, the window is still a normal window, not a toolbox window which
@@ -1201,3 +1203,5 @@ Returns `BrowserWindow` - The parent window.
 #### `win.getChildWindows()`
 
 Returns `BrowserWindow[]` - All child windows.
+
+[window-levels]: https://developer.apple.com/reference/appkit/nswindow/1664726-window_levels