docs: modifiers removed
This commit is contained in:
parent
8d22eeb3be
commit
3e1a5b229c
1 changed files with 12 additions and 7 deletions
|
@ -47,13 +47,15 @@ Creates a new tray icon associated with the `image`.
|
|||
|
||||
### Event: 'clicked'
|
||||
|
||||
* `event`
|
||||
* `event` Event
|
||||
* `altKey` Boolean
|
||||
* `shiftKey` Boolean
|
||||
* `ctrlKey` Boolean
|
||||
* `bounds` Object - the bounds of tray icon
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
* [`modifiers`][modifiers] Integer - bitsum of keyboard modifiers and mouse keys
|
||||
|
||||
Emitted when the tray icon is clicked.
|
||||
|
||||
|
@ -61,13 +63,15 @@ __Note:__ The `bounds` payload is only implemented on OS X and Windows 7 or newe
|
|||
|
||||
### Event: 'right-clicked'
|
||||
|
||||
* `event`
|
||||
* `event` Event
|
||||
* `altKey` Boolean
|
||||
* `shiftKey` Boolean
|
||||
* `ctrlKey` Boolean
|
||||
* `bounds` Object - the bounds of tray icon
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
* [`modifiers`][modifiers] Integer - bitsum of keyboard modifiers and mouse keys
|
||||
|
||||
Emitted when the tray icon is right clicked.
|
||||
|
||||
|
@ -75,13 +79,15 @@ __Note:__ This is only implemented on OS X and Windows.
|
|||
|
||||
### Event: 'double-clicked'
|
||||
|
||||
* `event`
|
||||
* `event` Event
|
||||
* `altKey` Boolean
|
||||
* `shiftKey` Boolean
|
||||
* `ctrlKey` Boolean
|
||||
* `bounds` Object - the bounds of tray icon
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
* [`modifiers`][modifiers] Integer - bitsum of keyboard modifiers and mouse keys
|
||||
|
||||
Emitted when the tray icon is double clicked.
|
||||
|
||||
|
@ -181,4 +187,3 @@ __Note:__ This is only implemented on OS X and Windows.
|
|||
Sets the context menu for this icon.
|
||||
|
||||
[event-emitter]: http://nodejs.org/api/events.html#events_class_events_eventemitter
|
||||
[modifiers]: https://code.google.com/p/chromium/codesearch#chromium/src/ui/events/event_constants.h&l=77
|
||||
|
|
Loading…
Reference in a new issue