Liking cljdoc? Tell your friends :D
All platforms.

web.primitives.testing.elements

El-id data for gallery demos. Returns plain :el-id values (vectors), so a view passes them straight to a primitive's :el-id and a test passes the same value to the SDK; neither builds an id string.

(el :autocomplete :basic) -> [:autocomplete :basic] ; "autocomplete--basic" (el :slider :basic :readout) -> [:slider :basic :readout] ; "slider--basic--readout" (testid :slider :basic :readout) -> "slider--basic--readout" ; for raw :data-testid

El-id data for gallery demos. Returns plain :el-id values (vectors), so a
view passes them straight to a primitive's :el-id and a test passes the
same value to the SDK; neither builds an id string.

  (el :autocomplete :basic)          -> [:autocomplete :basic]           ; "autocomplete--basic"
  (el :slider :basic :readout)       -> [:slider :basic :readout]        ; "slider--basic--readout"
  (testid :slider :basic :readout)   -> "slider--basic--readout"         ; for raw :data-testid
raw docstring

elclj/s

(el page variant)
(el page variant role)

El-id for a gallery demo: page and variant, plus an optional sub-element role such as :readout.

El-id for a gallery demo: `page` and `variant`, plus an optional sub-element
`role` such as :readout.
raw docstring

testidclj/s

(testid & parts)

Resolved id string for raw DOM attributes (:data-testid on plain elements).

Resolved id string for raw DOM attributes (:data-testid on plain elements).
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