This article needs a technical review. How you can help.
This article needs an editorial review. How you can help.
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 |