Update global-shortcut.md
Make it clear that the `global-shortcut` module should not be used until the ready event of app module gets emitted.
This commit is contained in:
parent
dbb6723dfa
commit
7b19b6b4f2
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
The `global-shortcut` module can register/unregister a global keyboard shortcut
|
||||
in operating system, so that you can customize the operations for various shortcuts.
|
||||
Note that the shortcut is global, even if the app does not get focused, it will still work.
|
||||
You should not use this module until the ready event of app module gets emitted.
|
||||
|
||||
```javascript
|
||||
var globalShortcut = require('global-shortcut');
|
||||
|
|
Loading…
Reference in a new issue