Liking cljdoc? Tell your friends :D

baredom.components.x-spinner.model


allowed-sizescljs

source

allowed-variantscljs

source

attr-labelcljs

source

attr-sizecljs

source

attr-variantcljs

source

default-labelcljs

source

default-sizecljs

source

default-variantcljs

source

derive-statecljs

(derive-state {:keys [size variant label]})

Produce a stable view-model map from raw attribute strings.

Input keys: :size string | nil :variant string | nil :label string | nil

Output keys: :size string — valid size enum value :variant string — valid variant enum value :label string — accessible label text

Produce a stable view-model map from raw attribute strings.

Input keys:
  :size    string | nil
  :variant string | nil
  :label   string | nil

Output keys:
  :size    string  — valid size enum value
  :variant string  — valid variant enum value
  :label   string  — accessible label text
sourceraw docstring

normalize-labelcljs

(normalize-label s)

Return trimmed label string or default-label when absent/blank.

Return trimmed label string or default-label when absent/blank.
sourceraw docstring

normalize-sizecljs

(normalize-size s)

Return size string if valid, otherwise default-size.

Return size string if valid, otherwise default-size.
sourceraw docstring

normalize-variantcljs

(normalize-variant s)

Return variant string if valid, otherwise default-variant.

Return variant string if valid, otherwise default-variant.
sourceraw docstring

observed-attributescljs

source

property-apicljs

source

tag-namecljs

source

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