(event: NotificationEvent)
| 339 | } |
| 340 | |
| 341 | private onClick(event: NotificationEvent): void { |
| 342 | // Handle the click event and keep the SW alive until it's handled. |
| 343 | event.waitUntil(this.handleClick(event.notification, event.action)); |
| 344 | } |
| 345 | |
| 346 | private onClose(event: NotificationEvent): void { |
| 347 | // Handle the close event and keep the SW alive until it's handled. |
no test coverage detected