Liking cljdoc? Tell your friends :D

web.primitives.gallery.pages.button-elements

Element ids for the Button gallery page, shared by the view and the UI tests. Values are plain :el-id data (keywords / vectors); components and the SDK resolve them, so neither side builds id strings.

View: [RawButton {:el-id disabled} "Disabled"] [RawButton {:el-id (variant :contained)} "Contained"] Test: (button/click! (variant :contained)) (button/enabled? disabled)

Element ids for the Button gallery page, shared by the view and the UI
tests. Values are plain :el-id data (keywords / vectors); components and
the SDK resolve them, so neither side builds id strings.

View:  [RawButton {:el-id disabled} "Disabled"]
       [RawButton {:el-id (variant :contained)} "Contained"]
Test:  (button/click! (variant :contained))
       (button/enabled? disabled)
raw docstring

disabledclj/s


variantclj/s

(variant v)

Button for a named demo variant, e.g. (variant :contained).

Button for a named demo variant, e.g. (variant :contained).
raw docstring

variant-readoutclj/s

(variant-readout v)

State readout shown under a variant, e.g. (variant-readout :contained).

State readout shown under a variant, e.g. (variant-readout :contained).
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