Liking cljdoc? Tell your friends :D

web.primitives.sdk.switch

RawSwitch. Behaves like a checkbox (el-id lands on the native input, role=switch). For two-value switches on? means the right value.

RawSwitch. Behaves like a checkbox (el-id lands on the native input,
role=switch). For two-value switches `on?` means the right value.
raw docstring

enabled?clj

(enabled? el-id)

on?clj

(on? el-id)

toggle!clj

(toggle! el-id)

turn-off!clj

(turn-off! el-id)

turn-on!clj

(turn-on! 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