Add location and keyboard modifiers to tray mouse events
This commit is contained in:
parent
2406d6c279
commit
70544440f9
7 changed files with 37 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue