Electron Documentation1.7.8

Docs / API / 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 on the source.
Need a different version of the docs? See the available versions or community translations.
Want to search all the documentation at once? See all of the docs on one page.