Liking cljdoc? Tell your friends :D

web.primitives.sdk.slider

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.
raw docstring

enabled?clj

(enabled? el-id)

max-valueclj

(max-value el-id)

min-valueclj

(min-value el-id)

set-value!clj

(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.
raw docstring

valueclj

(value el-id)

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