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.
Constructors
Initializes a new instance of the Notification class.
Initializes a new instance of the Notification class together with the specified container.
Name | Type | Description |
---|---|---|
container | A IContainer that represents the container for the component. |
Properties
Boolean: Returns whether the client browser supports desktop notifications.
Methods
Displays a new desktop notification.
Parameter | Type | Description |
---|---|---|
title | The title of the notification. | |
body | The optional body string of the notification. | |
icon | The URL of the image used as an icon of the notification. | |
showOnClick | Indicates whether to activate the browser when the user clicks the notification. | |
image | URL of an image to show at the top of the notification window. | |
id | Optional unique id, returned in NotificationClickEventArgs. | |
requireInteraction | Indicates that a notification should remain active until the user clicks or dismisses it, rather than closing automatically. |
Events
NotificationClickEventHandler Fired when the user clicks on a desktop notification.
Last updated