NotificationAPI
Types
getNotificationOptions
Record fields
tag
option< string >
notification
This Notifications API interface is used to configure and display desktop notifications to the user. See Notification on MDN
Record fields
Module
There are methods and helpers defined in Notification .
notificationDirection
notificationOptions
Record fields
dir
option< notificationDirection >
lang
option< string >
body
option< string >
tag
option< string >
icon
option< string >
badge
option< string >
silent
option< Null.t< bool > >
requireInteraction
option< bool >
data
option< JSON.t >