Class NotificationItem
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
通知信息类
public class NotificationItem
- Inheritance
-
NotificationItem
- Inherited Members
- Extension Methods
Constructors
NotificationItem()
public NotificationItem()
Properties
Icon
获得/设置 图标
public string? Icon { get; set; }
Property Value
Id
获得/设置 消息键值 未赋值时系统自动生成
public string? Id { get; set; }
Property Value
Message
获得/设置 信息
public string? Message { get; set; }
Property Value
OnClick
获得/设置 通知点击后的回调
[JsonIgnore]
public Func<Task>? OnClick { get; set; }
Property Value
Remarks
点击通知后自动关闭
Silent
获得/设置 静默
public bool Silent { get; set; }
Property Value
Sound
获得/设置 通知触发时要播放的音频文件的 URL
public string? Sound { get; set; }
Property Value
Title
获得/设置 标题
public string? Title { get; set; }