Liking cljdoc? Tell your friends :D

web.primitives.sdk.checkbox

RawCheckbox and RawSwitch. el-id lands as id on the native <input type=checkbox>, so checked state is read from the input itself.

RawCheckbox and RawSwitch. el-id lands as id on the native
<input type=checkbox>, so checked state is read from the input itself.
raw docstring

check!clj

(check! el-id)

Turn on. No-op when already on.

Turn on. No-op when already on.
raw docstring

checked?clj

(checked? el-id)

True when the box / switch is on.

True when the box / switch is on.
raw docstring

enabled?clj

(enabled? el-id)

set-checked!clj

(set-checked! el-id on?)

Drive to the given boolean state, verifying it settled.

Drive to the given boolean state, verifying it settled.
raw docstring

toggle!clj

(toggle! el-id)

Click once, flipping the state, and wait until the state actually flips. Re-clicks if the first click raced a re-render and was dropped.

Click once, flipping the state, and wait until the state actually flips.
Re-clicks if the first click raced a re-render and was dropped.
raw docstring

uncheck!clj

(uncheck! el-id)

Turn off. No-op when already off.

Turn off. No-op when already off.
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