mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: modifiers removed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user