HtmlForgeX

API Reference

Class

TablerInputGroup

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Implements

Tabler input-group builder: supports left/right addons (text/icon/button) with a central control (input/select/textarea).

Inheritance

Constructors

Methods

public TablerInputGroup AddonCheckboxLeft(Boolean checked = false) #
Returns: TablerInputGroup

Add a left checkbox addon.

Parameters

checked System.Boolean = false optionalposition: 0
public TablerInputGroup AddonCheckboxRight(Boolean checked = false) #
Returns: TablerInputGroup

Add a right checkbox addon.

Parameters

checked System.Boolean = false optionalposition: 0
public TablerInputGroup AddonIconLeft(TablerIconType icon) #
Returns: TablerInputGroup

Add a left icon addon.

Parameters

icon HtmlForgeX.TablerIconType requiredposition: 0
public TablerInputGroup AddonIconRight(TablerIconType icon) #
Returns: TablerInputGroup

Add a right icon addon.

Parameters

icon HtmlForgeX.TablerIconType requiredposition: 0
public TablerInputGroup AddonKbdLeft(String text) #
Returns: TablerInputGroup

Add a left keyboard hint (kbd) addon.

Parameters

text System.String requiredposition: 0
public TablerInputGroup AddonKbdRight(String text) #
Returns: TablerInputGroup

Add a right keyboard hint (kbd) addon.

Parameters

text System.String requiredposition: 0
public TablerInputGroup AddonLinkLeft(String text, String href) #
Returns: TablerInputGroup

Add a left link addon.

Parameters

text System.String requiredposition: 0
href System.String requiredposition: 1
public TablerInputGroup AddonLinkRight(String text, String href) #
Returns: TablerInputGroup

Add a right link addon.

Parameters

text System.String requiredposition: 0
href System.String requiredposition: 1
public TablerInputGroup AddonRadioLeft(Boolean checked = false) #
Returns: TablerInputGroup

Add a left radio addon.

Parameters

checked System.Boolean = false optionalposition: 0
Whether the radio is initially checked. Note: radio/checkbox both use the 'checked' attribute.
public TablerInputGroup AddonRadioRight(Boolean checked = false) #
Returns: TablerInputGroup

Add a right radio addon.

Parameters

checked System.Boolean = false optionalposition: 0
Whether the radio is initially checked. Note: radio/checkbox both use the 'checked' attribute.
public TablerInputGroup AddonTextLeft(String text) #
Returns: TablerInputGroup

Add a left text addon.

Parameters

text System.String requiredposition: 0
public TablerInputGroup AddonTextRight(String text) #
Returns: TablerInputGroup

Add a right text addon.

Parameters

text System.String requiredposition: 0
public TablerInputGroup ButtonLeft(String text, Action<TablerButton> config = null) #
Returns: TablerInputGroup

Add a left button.

Parameters

text System.String requiredposition: 0
config System.Action{HtmlForgeX.TablerButton} = null optionalposition: 1
public TablerInputGroup ButtonRight(String text, Action<TablerButton> config = null) #
Returns: TablerInputGroup

Add a right button.

Parameters

text System.String requiredposition: 0
config System.Action{HtmlForgeX.TablerButton} = null optionalposition: 1
FormCheckAddon(System.String arg1, System.Boolean arg2) #

Builds a small form-check input to use as an input-group addon. For both checkbox and radio, HTML uses the 'checked' attribute to indicate the selected state.

Parameters

arg1 System.String required
arg2 System.Boolean required
GetAuxiliaryChildren() #

Exposes addons and central control for library registration traversal.

public TablerInputGroup Input(String name, Action<TablerInput> config = null) #
Returns: TablerInputGroup

Use a text TablerInput as the central control.

Parameters

name System.String requiredposition: 0
config System.Action{HtmlForgeX.TablerInput} = null optionalposition: 1
public TablerInputGroup Label(String text) #
Returns: TablerInputGroup

Sets the label displayed for the input group.

Parameters

text System.String requiredposition: 0
public TablerInputGroup Select(String name, Action<TablerSelect> config = null) #
Returns: TablerInputGroup

Use a TablerSelect as the central control.

Parameters

name System.String requiredposition: 0
config System.Action{HtmlForgeX.TablerSelect} = null optionalposition: 1
public TablerInputGroup Size(InputGroupSize size) #
Returns: TablerInputGroup

Sets the size variant for the input group.

Parameters

size HtmlForgeX.InputGroupSize requiredposition: 0
public TablerInputGroup Textarea(String name, Action<TablerTextarea> config = null) #
Returns: TablerInputGroup

Use a TablerTextarea as the central control.

Parameters

name System.String requiredposition: 0
config System.Action{HtmlForgeX.TablerTextarea} = null optionalposition: 1
public override String ToString() #
Returns: String

Builds the HTML for the input group including label and addons.