Notification
Wisej.Web.Ext.Notification.Notification
Namespace: Wisej.Web.Ext.Notification
Assembly: Wisej.Web.Ext.Notification (3.2.0.0)
Adds support for the Notification API: notification.
public class Notification : ComponentPublic Class Notification
Inherits ComponentConstructors
Notification()
Initializes a new instance of the Notification class.
Notification(container)
Initializes a new instance of the Notification class together with the specified container.
Name
Type
Description
Properties
IsSupported
Boolean: Returns whether the client browser supports desktop notifications.
Methods
Show(title, body, icon, showOnClick, image, id, requireInteraction)
Displays a new desktop notification.
Parameter
Type
Description
requireInteraction
Indicates that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.
Events
Click
NotificationClickEventHandler Fired when the user clicks on a desktop notification.
Last updated
Was this helpful?