Function addEventListener
- addEventListener(eventType, listener): Promise<void>
-
Parameters
-
eventType: "notification-form-submitted"
-
listener: ((event) => void)
-
- (event): void
-
Returns void
Returns Promise<void>
- addEventListener(eventType, listener): Promise<void>
-
Parameters
-
eventType: "notification-action"
-
listener: ((event) => void)
-
- (event): void
-
Returns void
Returns Promise<void>
- addEventListener(eventType, listener): Promise<void>
-
Parameters
-
eventType: "notification-created"
-
listener: ((event) => void)
-
- (event): void
-
Returns void
Returns Promise<void>
- addEventListener(eventType, listener): Promise<void>
-
Parameters
-
eventType: "notification-toast-dismissed"
-
listener: ((event) => void)
-
- (event): void
-
Returns void
Returns Promise<void>
- addEventListener(eventType, listener): Promise<void>
-
Parameters
-
eventType: "notification-closed"
-
listener: ((event) => void)
-
- (event): void
-
Returns void
Returns Promise<void>
- addEventListener(eventType, listener): Promise<void>
-
Parameters
-
eventType: "notifications-count-changed"
-
listener: ((event) => void)
-
- (event): void
-
Returns void
Returns Promise<void>
- addEventListener(eventType, listener): Promise<void>
-
Parameters
-
eventType: "notification-reminder-created"
-
listener: ((event) => void)
-
- (event): void
-
Returns void
Returns Promise<void>
- addEventListener(eventType, listener): Promise<void>
-
Parameters
-
eventType: "notification-reminder-removed"
-
listener: ((event) => void)
-
- (event): void
-
Returns void
Returns Promise<void>