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.
(alert-severity el-id)RawAlert: "success" | "info" | "warning" | "error".
RawAlert: "success" | "info" | "warning" | "error".
(badge-content el-id)RawBadge: text of the badge bubble.
RawBadge: text of the badge bubble.
(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.
(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).
(card-title el-id)RawCard: header title text.
RawCard: header title text.
(delete-chip! el-id)RawChip with :on-delete: click the delete icon.
RawChip with :on-delete: click the delete icon.
(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.
(list-items el-id)RawList: text of each list item.
RawList: text of each list item.
(present? el-id)(progress? el-id)RawCircularProgress: true while the progress indicator is shown.
RawCircularProgress: true while the progress indicator is shown.
(table-headers el-id)RawTable (via its container el-id): header cell texts.
RawTable (via its container el-id): header cell texts.
(table-rows el-id)RawTable: body rows as vectors of cell texts.
RawTable: body rows as vectors of cell texts.
(tag el-id)HTML tag name, e.g. "h1" for RawTypography variant h1.
HTML tag name, e.g. "h1" for RawTypography variant h1.
(text el-id)Visible text of any element carrying el-id.
Visible text of any element carrying el-id.
(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))).
(tree-items el-id)RawTreeView: labels of the visible tree items.
RawTreeView: labels of the visible tree items.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |