Variable Notification
Notification: {
permission: NotificationPermission;
prototype: Notification;
new (title: string, options?: NotificationOptions): Notification;
}
permission: NotificationPermission;
prototype: Notification;
new (title: string, options?: NotificationOptions): Notification;
}
Type declaration
- new (title, options?): Notification
Parameters
- title: string
Optional
options: NotificationOptions
Returns Notification
Readonly
permission: NotificationPermissionprototype: Notification
MDN Reference