|
@@ -311,7 +311,8 @@ Emitted when an [App Command](https://msdn.microsoft.com/en-us/library/windows/d
|
|
|
is invoked. These are typically related to keyboard media keys or browser
|
|
|
commands, as well as the "Back" button built into some mice on Windows.
|
|
|
|
|
|
-Commands are lowercased with underscores replaced with hyphens and the `APPCOMMAND_` prefix stripped off.
|
|
|
+Commands are lowercased with underscores replaced with hyphens and the
|
|
|
+`APPCOMMAND_` prefix stripped off.
|
|
|
e.g. `APPCOMMAND_BROWSER_BACKWARD` is emitted as `browser-backward`.
|
|
|
|
|
|
```js
|
|
@@ -677,9 +678,9 @@ window.
|
|
|
|
|
|
### `win.setSheetOffset(offset)`
|
|
|
|
|
|
-Changes the attachment point for sheets on Mac OS X. By default, sheets are attached
|
|
|
-just below the window frame, but you may want to display them beneath a HTML-rendered
|
|
|
-toolbar. For example:
|
|
|
+Changes the attachment point for sheets on Mac OS X. By default, sheets are
|
|
|
+attached just below the window frame, but you may want to display them beneath
|
|
|
+a HTML-rendered toolbar. For example:
|
|
|
|
|
|
```
|
|
|
var toolbarRect = document.getElementById('toolbar').getBoundingClientRect();
|
|
@@ -823,8 +824,8 @@ cleared
|
|
|
* `description` String - a description that will be provided to Accessibility
|
|
|
screen readers
|
|
|
|
|
|
-Sets a 16 x 16 pixel overlay onto the current taskbar icon, usually used to convey some
|
|
|
-sort of application status or to passively notify the user.
|
|
|
+Sets a 16 x 16 pixel overlay onto the current taskbar icon, usually used to
|
|
|
+convey some sort of application status or to passively notify the user.
|
|
|
|
|
|
### `win.setHasShadow(hasShadow)` _OS X_
|
|
|
|