NotificationEventInit Class
The initialization dictionary of a NotificationEvent (https://notifications.spec.whatwg.org/#dictdef-notificationeventinit).
public sealed class NotificationEventInit : ExtendableEventInit- Inheritance
ExtendableEventInitNotificationEventInit
Constructors
| Name | Description |
|---|---|
| NotificationEventInit() |
NotificationEventInit()
Notification.cs- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public NotificationEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Action | Gets the name of the activated action, or the empty string. |
| Notification | Gets the notification. |
Action
Notification.csGets the name of the activated action, or the empty string.
public string Action { get; init; }Notification
Notification.csGets the notification.
public required Notification Notification { get; init; }