Add location and keyboard modifiers to tray mouse events

This commit is contained in:
Kevin Sawicki 2017-06-28 12:09:12 -07:00
parent 2406d6c279
commit 70544440f9
7 changed files with 37 additions and 16 deletions

View file

@ -146,10 +146,24 @@ Emitted when a drag operation ends on the tray or ends at another location.
#### Event: 'mouse-enter' _macOS_
* `event` Event
* `altKey` Boolean
* `shiftKey` Boolean
* `ctrlKey` Boolean
* `metaKey` Boolean
* `position` [Point](structures/point.md) - The position of the event
Emitted when the mouse enters the tray icon.
#### Event: 'mouse-leave' _macOS_
* `event` Event
* `altKey` Boolean
* `shiftKey` Boolean
* `ctrlKey` Boolean
* `metaKey` Boolean
* `position` [Point](structures/point.md) - The position of the event
Emitted when the mouse exits the tray icon.
### Instance Methods