API Reference
Class
NotificationItem
Represents a notification item
Inheritance
- Object
- NotificationItem
Constructors
public NotificationItem() #Methods
public NotificationItem WithAction(Nullable<TablerIconType> icon = null) #Returns:
NotificationItemAdd action button
Parameters
- icon System.Nullable{HtmlForgeX.TablerIconType} = null
public NotificationItem WithIcon(TablerIconType icon, Nullable<TablerColor> color = null) #Returns:
NotificationItemFluent configuration
Parameters
- icon HtmlForgeX.TablerIconType
- color System.Nullable{HtmlForgeX.TablerColor} = null
public NotificationItem WithStatus(TablerColor color, Boolean animated = false) #Returns:
NotificationItemConfigure status dot
Parameters
- color HtmlForgeX.TablerColor
- animated System.Boolean = false
Inherited Methods
Properties
public String Title { get; set; } #Title of the notification
public String Description { get; set; } #Description or subtitle
public Nullable<TablerIconType> Icon { get; set; } #Optional icon
public Nullable<TablerColor> IconColor { get; set; } #Icon color
public TablerColor StatusColor { get; set; } #Status dot color
public Boolean IsAnimated { get; set; } #Animated status dot
public Boolean ShowAction { get; set; } #Show action button (star, etc.)
public Nullable<TablerIconType> ActionIcon { get; set; } #Action button icon
IsViewAll #Internal flag for "View All" link