Notification

Functions

Link copied to clipboard
fun show(contents: JsAny?, options: JsAny? = js("undefined")): NotificationElement

Shows a notification with the given content. By default, positions the notification at bottom-start and uses a 5 second duration. An options object can be passed to configure the notification. The options object has the following structure: