RawTextField, RawNumberField, RawPercentField. el-id lands as id on the native <input>.
RawTextField, RawNumberField, RawPercentField. el-id lands as id on the native <input>.
(blur! el-id)Move focus away so on-blur handlers and formatting run.
Move focus away so on-blur handlers and formatting run.
(clear! el-id)(enabled? el-id)(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.
(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.
(label el-id)Text of the field's floating label.
Text of the field's floating label.
(read-only? el-id)(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.
(value el-id)Current text shown in the input.
Current text shown in the input.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |