From e1dcd79e48a98ae32e3c31ba3e8489872927544d Mon Sep 17 00:00:00 2001 From: mikeykhalil Date: Sun, 1 Apr 2018 18:28:44 -0700 Subject: [PATCH] updated Tray API docs to include new setIgnoreDoubleClickEvents method --- docs/api/tray.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/api/tray.md b/docs/api/tray.md index f130d1279363..8daec549623c 100644 --- a/docs/api/tray.md +++ b/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