API Reference
Class
TablerSidebarLink
Sidebar link item
Inheritance
- TablerSidebarItem
- TablerSidebarLink
Constructors
public TablerSidebarLink(String text, String href = null) #Initializes a new instance of the TablerSidebarLink class
Parameters
- text System.String
- Link text
- href System.String = null
- Link href URL (optional)
Methods
public override String Render() #Returns:
StringRenders the sidebar link to HTML string
Returns
HTML representation of the sidebar link
Inherited Methods
Properties
public Nullable<TablerIconType> Icon { get; set; } #Gets or sets the optional link icon
public String Badge { get; set; } #Gets or sets the optional badge text
public Boolean Active { get; set; } #Gets or sets whether the link is active
public Boolean Disabled { get; set; } #Gets or sets whether the link is disabled