Notification
open class Notification(val title: String, options: NotificationOptions = definedExternally) : EventTarget(source)
The Notification
interface of the Notifications API is used to configure and display desktop notifications to the user.
Properties
Link copied to clipboard
The dir
read-only property of the Notification interface indicates the text direction of the notification, as specified in the dir
option of the Notification.Notification constructor.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The requireInteraction
read-only property of the Notification interface returns a boolean value indicating that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.