HtmlForgeX

API Reference

Class

TablerCopyInput

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Implements
Modifiers sealed

Read-only input + copy button (clipboard) for “share link / token / connection string” UX. Uses HfxClipboard (no consumer JS).

Inheritance

Constructors

Methods

public TablerCopyInput CopyText(String text) #
Returns: TablerCopyInput

Overrides what is copied to clipboard (useful when the displayed value is masked). If not set, the input value/text is copied.

Parameters

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

Disables the input and copy button.

Parameters

disabled System.Boolean = true optionalposition: 0
public TablerCopyInput Id(String id) #
Returns: TablerCopyInput

Sets the input id (used by the copy button target).

Parameters

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

Sets the label text.

Parameters

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

Controls readonly state (default: true).

Parameters

readOnly System.Boolean = true optionalposition: 0
RegisterLibraries() #
public TablerCopyInput Settings(Action<CopyInputSettings> configure) #
Returns: TablerCopyInput

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

Parameters

configure System.Action{HtmlForgeX.CopyInputSettings} requiredposition: 0
public override String ToString() #
Returns: String
public TablerCopyInput Value(String value) #
Returns: TablerCopyInput

Sets the value displayed in the input (and copied by default).

Parameters

value System.String requiredposition: 0