updated Tray API docs to include new setIgnoreDoubleClickEvents method

This commit is contained in:
mikeykhalil 2018-04-01 18:28:44 -07:00
parent 1f29124d11
commit e1dcd79e48

View file

@ -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