Electron Documentation1.7.9

Electron 1.7.9 / Docs / API Structures / NotificationAction Object

NotificationAction Object

Platform / Action Support

Action Type Platform Support Usage of text Default text Limitations
button macOS Used as the label for the button "Show" Maximum of one button, if multiple are provided only the last is used. This action is also incomptible with hasReply and will be ignored if hasReply is true .

Button support on macOS

In order for extra notification buttons to work on macOS your app must meet the following criteria.

If either of these requirements are not met the button simply won't appear.


See something that needs fixing? Propose a change to the source file.
Need a different version of the docs? See available versions.
Want something searchable? View all docs on one page