From: Paul Betts Date: Thu, 25 Jun 2015 17:20:33 +0000 (-0600) Subject: :memo: consistency X-Git-Tag: v0.29.0~17^2~4 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2a2158e0e34e9f2b715d37462ba84b08fa678bf3;p=electron.git :memo: consistency --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 31e7ca53..81649ebd 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -219,7 +219,7 @@ Emitted when devtools is closed. Emitted when devtools is focused / opened. -### Event: 'app-command' (Windows): +### Event: 'app-command': Emitted when an [App Command](https://msdn.microsoft.com/en-us/library/windows/desktop/ms646275(v=vs.85).aspx) 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. @@ -236,6 +236,8 @@ someWindow.on('app-command', function(e, cmd) => { }); ``` +__Note__: This event is only fired on Windows + ### Class Method: BrowserWindow.getAllWindows() Returns an array of all opened browser windows.