Notification
Wisej.Web.Ext.Notification.Notification
Last updated
Wisej.Web.Ext.Notification.Notification
Last updated
Namespace: Wisej.Web.Ext.Notification
Assembly: Wisej.Web.Ext.Notification (3.2.0.0)
Adds support for the Notification API: notification.
Initializes a new instance of the Notification class.
Initializes a new instance of the Notification class together with the specified container.
Name | Type | Description |
---|---|---|
Boolean: Returns whether the client browser supports desktop notifications.
Displays a new desktop notification.
NotificationClickEventHandler Fired when the user clicks on a 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.
container
A IContainer that represents the container for the component.