Liking cljdoc? Tell your friends :D

web.primitives.sdk.display

Read-only queries for display components: typography, badge, chip, avatar, alert, list, table, tree view, card, backdrop, progress, skeleton.

Read-only queries for display components: typography, badge, chip,
avatar, alert, list, table, tree view, card, backdrop, progress, skeleton.
raw docstring

alert-severityclj

(alert-severity el-id)

RawAlert: "success" | "info" | "warning" | "error".

RawAlert: "success" | "info" | "warning" | "error".
raw docstring

badge-contentclj

(badge-content el-id)

RawBadge: text of the badge bubble.

RawBadge: text of the badge bubble.
raw docstring

becomes-hidden?clj

(becomes-hidden? el-id)

True once the element is hidden or removed. Use after an action that hides it; waits for exit transitions to finish.

True once the element is hidden or removed. Use after an action that
hides it; waits for exit transitions to finish.
raw docstring

becomes-visible?clj

(becomes-visible? el-id)

True once the element is visible. Use after an action that shows it (MUI animates Zoom, Slide, Fade, Backdrop).

True once the element is visible. Use after an action that shows it
(MUI animates Zoom, Slide, Fade, Backdrop).
raw docstring

card-titleclj

(card-title el-id)

RawCard: header title text.

RawCard: header title text.
raw docstring

chip-labelclj

(chip-label el-id)

RawChip: chip text.

RawChip: chip text.
raw docstring

delete-chip!clj

(delete-chip! el-id)

RawChip with :on-delete: click the delete icon.

RawChip with :on-delete: click the delete icon.
raw docstring

expand-tree-item!clj

(expand-tree-item! el-id label)

RawTreeView: click the item with the given label to expand it.

RawTreeView: click the item with the given label to expand it.
raw docstring

list-itemsclj

(list-items el-id)

RawList: text of each list item.

RawList: text of each list item.
raw docstring

present?clj

(present? el-id)

progress?clj

(progress? el-id)

RawCircularProgress: true while the progress indicator is shown.

RawCircularProgress: true while the progress indicator is shown.
raw docstring

table-headersclj

(table-headers el-id)

RawTable (via its container el-id): header cell texts.

RawTable (via its container el-id): header cell texts.
raw docstring

table-rowsclj

(table-rows el-id)

RawTable: body rows as vectors of cell texts.

RawTable: body rows as vectors of cell texts.
raw docstring

tagclj

(tag el-id)

HTML tag name, e.g. "h1" for RawTypography variant h1.

HTML tag name, e.g. "h1" for RawTypography variant h1.
raw docstring

textclj

(text el-id)

Visible text of any element carrying el-id.

Visible text of any element carrying el-id.
raw docstring

text=?clj

(text=? el-id expected)

Wait until the element's visible text equals expected (or the SDK timeout passes) and return the final text. Use for read-after-act assertions where a re-frame / React re-render updates a readout: (is (= v (display/text=? id v))).

Wait until the element's visible text equals `expected` (or the SDK timeout
passes) and return the final text. Use for read-after-act assertions where a
re-frame / React re-render updates a readout: (is (= v (display/text=? id v))).
raw docstring

tree-itemsclj

(tree-items el-id)

RawTreeView: labels of the visible tree items.

RawTreeView: labels of the visible tree items.
raw docstring

visible?clj

(visible? el-id)

Visible right now.

Visible right now.
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