Browse Source

updated Tray API docs to include new setIgnoreDoubleClickEvents method

mikeykhalil 7 years ago
parent
commit
e1dcd79e48
1 changed files with 9 additions and 0 deletions
  1. 9 0
      docs/api/tray.md

+ 9 - 0
docs/api/tray.md

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