Liking cljdoc? Tell your friends :D

web.primitives.sdk.text-field

RawTextField, RawNumberField, RawPercentField. el-id lands as id on the native <input>.

RawTextField, RawNumberField, RawPercentField.
el-id lands as id on the native <input>.
raw docstring

blur!clj

(blur! el-id)

Move focus away so on-blur handlers and formatting run.

Move focus away so on-blur handlers and formatting run.
raw docstring

clear!clj

(clear! el-id)

enabled?clj

(enabled? el-id)

fill!clj

(fill! el-id text)

Replace the input's content with text, then wait for the value to settle.

Replace the input's content with `text`, then wait for the value to settle.
raw docstring

helper-textclj

(helper-text el-id)

Helper / error text under the field, or nil when none is shown.

Helper / error text under the field, or nil when none is shown.
raw docstring

labelclj

(label el-id)

Text of the field's floating label.

Text of the field's floating label.
raw docstring

read-only?clj

(read-only? el-id)

type!clj

(type! el-id text)

Type text key by key into the input (triggers per-key handlers), then wait for the value to settle so per-key transforms have run.

Type `text` key by key into the input (triggers per-key handlers), then
wait for the value to settle so per-key transforms have run.
raw docstring

valueclj

(value el-id)

Current text shown in the input.

Current text shown in the input.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close