HtmlForgeX

API Reference

Class

TablerListGroupItem

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

A single list-group item.

Inheritance

Constructors

public TablerListGroupItem(String text, String href = null) #

Creates a list-group item.

Parameters

text System.String requiredposition: 0
href System.String = null optionalposition: 1

Methods

public TablerListGroupItem Active(Boolean active = true) #
Returns: TablerListGroupItem

Marks the item as active.

Parameters

active System.Boolean = true optionalposition: 0
public TablerListGroupItem Description(String text) #
Returns: TablerListGroupItem

Sets an optional description shown under the main text.

Parameters

text System.String requiredposition: 0
public TablerListGroupItem Disabled(Boolean disabled = true) #
Returns: TablerListGroupItem

Marks the item as disabled.

Parameters

disabled System.Boolean = true optionalposition: 0
GetAuxiliaryChildren() #
public TablerListGroupItem Href(String href) #
Returns: TablerListGroupItem

Sets an optional link href (renders as an anchor when set).

Parameters

href System.String requiredposition: 0
RegisterLibraries() #
public override String ToString() #
Returns: String
public TablerListGroupItem Trailing(Action<ElementContainer> configure) #
Returns: TablerListGroupItem

Adds trailing content (e.g., buttons, badges) rendered to the right of the item.

Parameters

configure System.Action{HtmlForgeX.ElementContainer} requiredposition: 0