UNPKG
onesignal-web-sdk
Version:
latest (1.2.1)
1.2.1
1.2.0
Web push notifications from OneSignal.
onesignal-web-sdk
/
test
/
support
/
mocks
/
service-workers
/
models
/
NotificationEvent.js
13 lines
(10 loc)
•
286 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
// https://developer.mozilla.org/en-US/docs/Web/API/NotificationEvent
export
default
class
NotificationEvent
{
constructor
(
notification
) {
this
.
notification
= notification; }
get
action
() {
throw
new
Error
(
'PROPERTY NOT IMPLEMENTED'
); }
waitUntil
(
) {} }