Update Notification API doc

This commit is contained in:
Zhuo Lu 2018-01-16 12:05:43 -08:00
parent be118d4f13
commit 0d4c6e327f

View file

@ -39,7 +39,7 @@ Returns `Boolean` - Whether or not desktop notifications are supported on the cu
* `replyPlaceholder` String (optional) _macOS_ - The placeholder to write in the inline reply input field. * `replyPlaceholder` String (optional) _macOS_ - The placeholder to write in the inline reply input field.
* `sound` String (optional) _macOS_ - The name of the sound file to play when the notification is shown. * `sound` String (optional) _macOS_ - The name of the sound file to play when the notification is shown.
* `actions` [NotificationAction[]](structures/notification-action.md) (optional) _macOS_ - Actions to add to the notification. Please read the available actions and limitations in the `NotificationAction` documentation. * `actions` [NotificationAction[]](structures/notification-action.md) (optional) _macOS_ - Actions to add to the notification. Please read the available actions and limitations in the `NotificationAction` documentation.
* `closeButtonText` String (optional) _macOS_ - A custom title for the close button of an alert. An empty string will cause the default localized text to be used.
### Instance Events ### Instance Events