mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
🍎 Add subtitle to Notification properties
This commit is contained in:
@@ -31,7 +31,8 @@ Returns `Boolean` - Whether or not desktop notifications are supported on the cu
|
||||
|
||||
* `options` Object
|
||||
* `title` String - A title for the notification, which will be shown at the top of the notification window when it is shown
|
||||
* `body` String - The body text of the notification, which will be displayed below the title
|
||||
* `subtitle` String - A subtitle for the notification, which will be displayed below the title. _macOS_
|
||||
* `body` String - The body text of the notification, which will be displayed below the title or subtitle
|
||||
* `silent` Boolean - (optional) Whether or not to emit an OS notification noise when showing the notification
|
||||
* `icon` [NativeImage](native-image.md) - (optional) An icon to use in the notification
|
||||
* `hasReply` Boolean - (optional) Whether or not to add an inline reply option to the notification. _macOS_
|
||||
|
||||
Reference in New Issue
Block a user