mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
updated Tray API docs to include new setIgnoreDoubleClickEvents method
This commit is contained in:
@@ -241,6 +241,15 @@ win.on('hide', () => {
|
||||
})
|
||||
```
|
||||
|
||||
#### `tray.setIgnoreDoubleClickEvents(ignore)` _macOS_
|
||||
|
||||
* `ignore` Boolean
|
||||
|
||||
Sets the option to ignore double click events. Ignoring these events allow you
|
||||
to detect every individual click of the tray icon.
|
||||
|
||||
This value is set to false by default.
|
||||
|
||||
#### `tray.displayBalloon(options)` _Windows_
|
||||
|
||||
* `options` Object
|
||||
|
||||
Reference in New Issue
Block a user