Package-level declarations

Types

Link copied to clipboard
open class Notification(val title: String, options: NotificationOptions = definedExternally) : EventTarget

The Notification interface of the Notifications API is used to configure and display desktop notifications to the user.

Link copied to clipboard
sealed interface NotificationDirection
Link copied to clipboard
Link copied to clipboard
sealed interface NotificationPermission
Link copied to clipboard

Properties

Functions

Link copied to clipboard

The requestPermission() static method of the Notification interface requests permission from the user for the current origin to display notifications.