RawSlider. el-id lands on the slider root <span>; the value lives on the inner <input type=range>, which is driven with the keyboard.
RawSlider. el-id lands on the slider root <span>; the value lives on the inner <input type=range>, which is driven with the keyboard.
(enabled? el-id)(max-value el-id)(min-value el-id)(set-value! el-id target)Move the thumb to target one arrow key at a time, waiting for a render
frame between presses. Stepping one key per re-render avoids the controlled
component race where rapid presses recompute from a stale value and drop
increments, leaving the app state behind the DOM.
Move the thumb to `target` one arrow key at a time, waiting for a render frame between presses. Stepping one key per re-render avoids the controlled component race where rapid presses recompute from a stale value and drop increments, leaving the app state behind the DOM.
(value el-id)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 |