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.
var actions[] = Notification.actions;
A read-only array.
Specification | Status | Comment |
---|---|---|
Notifications API The definition of 'actions' in that specification. | Recommendation | Living standard |
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 |
© 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