From 3e1a5b229ce2750182ec1ac1070142d73dd03d02 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 29 Jul 2015 14:27:32 +0800 Subject: [PATCH] docs: modifiers removed --- docs/api/tray.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/api/tray.md b/docs/api/tray.md index 935430b7feaa..5c8c88018f71 100644 --- a/docs/api/tray.md +++ b/docs/api/tray.md @@ -47,13 +47,15 @@ Creates a new tray icon associated with the `image`. ### Event: 'clicked' -* `event` +* `event` Event + * `altKey` Boolean + * `shiftKey` Boolean + * `ctrlKey` Boolean * `bounds` Object - the bounds of tray icon * `x` Integer * `y` Integer * `width` Integer * `height` Integer -* [`modifiers`][modifiers] Integer - bitsum of keyboard modifiers and mouse keys Emitted when the tray icon is clicked. @@ -61,13 +63,15 @@ __Note:__ The `bounds` payload is only implemented on OS X and Windows 7 or newe ### Event: 'right-clicked' -* `event` +* `event` Event + * `altKey` Boolean + * `shiftKey` Boolean + * `ctrlKey` Boolean * `bounds` Object - the bounds of tray icon * `x` Integer * `y` Integer * `width` Integer * `height` Integer -* [`modifiers`][modifiers] Integer - bitsum of keyboard modifiers and mouse keys Emitted when the tray icon is right clicked. @@ -75,13 +79,15 @@ __Note:__ This is only implemented on OS X and Windows. ### Event: 'double-clicked' -* `event` +* `event` Event + * `altKey` Boolean + * `shiftKey` Boolean + * `ctrlKey` Boolean * `bounds` Object - the bounds of tray icon * `x` Integer * `y` Integer * `width` Integer * `height` Integer -* [`modifiers`][modifiers] Integer - bitsum of keyboard modifiers and mouse keys Emitted when the tray icon is double clicked. @@ -181,4 +187,3 @@ __Note:__ This is only implemented on OS X and Windows. Sets the context menu for this icon. [event-emitter]: http://nodejs.org/api/events.html#events_class_events_eventemitter -[modifiers]: https://code.google.com/p/chromium/codesearch#chromium/src/ui/events/event_constants.h&l=77