W3cubDocs

/DOM

Notification.actions

The actions read-only property of the Notification interface returns the actions array of the notification as specified in the options parameter of the Notification() constructor.

Note: This feature is available in Web Workers.

Syntax

var actions[] = Notification.actions;

Value

A read-only array.

Specifications

Specification Status Comment
Notifications API
The definition of 'actions' in that specification.
Recommendation Living standard

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 53.0 ? ? 40 ?
Available in workers 53.0 ? ? 40 ?
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support

No support

? ? ? 40 ?

53.0

Available in workers No support No support ? ? ? 40 ? 53.0

Firefox OS notes

Chrome notes

Safari notes

See also

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Notification/actions