HtmlForgeX

API Reference

Class

TablerTokenInput

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Implements
Modifiers sealed

Token/API-key style input with optional reveal (password/text toggle) and copy-to-clipboard button. Uses embedded helpers (HfxReveal / HfxClipboard) so consumer code needs no JS.

Inheritance

Constructors

Methods

public TablerTokenInput Disabled(Boolean disabled = true) #
Returns: TablerTokenInput

Disables the input and any buttons.

Parameters

disabled System.Boolean = true optionalposition: 0
public TablerTokenInput Hint(String text) #
Returns: TablerTokenInput

Sets a non-error hint below the input.

Parameters

text System.String requiredposition: 0
public TablerTokenInput Id(String id) #
Returns: TablerTokenInput

Sets the input id (used by reveal/copy buttons).

Parameters

id System.String requiredposition: 0
public TablerTokenInput Label(String text) #
Returns: TablerTokenInput

Sets the label text.

Parameters

text System.String requiredposition: 0
public TablerTokenInput Masked(Boolean masked = true) #
Returns: TablerTokenInput

Controls whether the value is masked (password) or shown (text). Default: masked.

Parameters

masked System.Boolean = true optionalposition: 0
public TablerTokenInput Name(String name) #
Returns: TablerTokenInput

Sets the input name attribute.

Parameters

name System.String requiredposition: 0
public TablerTokenInput ReadOnly(Boolean readOnly = true) #
Returns: TablerTokenInput

Makes the input read-only.

Parameters

readOnly System.Boolean = true optionalposition: 0
RegisterLibraries() #
public TablerTokenInput Required(Boolean required = true) #
Returns: TablerTokenInput

Marks the input as required.

Parameters

required System.Boolean = true optionalposition: 0
public TablerTokenInput Settings(Action<TokenInputSettings> configure) #
Returns: TablerTokenInput

Groups less-common options under a single fluent entry point to keep IntelliSense lean.

Parameters

configure System.Action{HtmlForgeX.TokenInputSettings} requiredposition: 0
public override String ToString() #
Returns: String
public TablerTokenInput Validation(ValidationState state, String message) #
Returns: TablerTokenInput

Sets validation state and message.

Parameters

state HtmlForgeX.ValidationState requiredposition: 0
message System.String requiredposition: 1
public TablerTokenInput Value(String value) #
Returns: TablerTokenInput

Sets the input value.

Parameters

value System.String requiredposition: 0