Liking cljdoc? Tell your friends :D

app.components.x-table-row.model


aria-selected-valuecljs

(aria-selected-value {:keys [selected? interactive?]})

Returns the aria-selected string value or nil (to remove the attribute).

Rules:

  • selected → "true"
  • interactive but not selected → "false" (row is in a selection context)
  • neither interactive nor selected → nil (row is not selectable, omit attribute)
Returns the aria-selected string value or nil (to remove the attribute).

Rules:
- selected → "true"
- interactive but not selected → "false" (row is in a selection context)
- neither interactive nor selected → nil (row is not selectable, omit attribute)
raw docstring

attr-disabledcljs


attr-interactivecljs


attr-row-indexcljs


attr-selectedcljs


click-detailcljs

(click-detail {:keys [selected? disabled? row-index]})

Build the event detail map for x-table-row-click.

Build the event detail map for x-table-row-click.
raw docstring

connected-detailcljs

(connected-detail {:keys [selected? disabled? interactive? row-index]})

Build the event detail map for x-table-row-connected.

Build the event detail map for x-table-row-connected.
raw docstring

event-clickcljs


event-connectedcljs


event-disconnectedcljs


event-schemacljs


interactive-eligible?cljs

(interactive-eligible? {:keys [interactive? disabled?]})

Returns true when the row should respond to user interaction (interactive attribute set and not disabled).

Returns true when the row should respond to user interaction
(interactive attribute set and not disabled).
raw docstring

normalizecljs

(normalize {:keys [selected? disabled? interactive? row-index-raw]})

Produce a canonical view-model map from raw attribute inputs.

Input keys: :selected? boolean :disabled? boolean :interactive? boolean :row-index-raw string | nil

Output keys mirror the attribute semantics with parsed/normalised values.

Produce a canonical view-model map from raw attribute inputs.

Input keys:
  :selected?      boolean
  :disabled?      boolean
  :interactive?   boolean
  :row-index-raw  string | nil

Output keys mirror the attribute semantics with parsed/normalised values.
raw docstring

observed-attributescljs


parse-row-indexcljs

(parse-row-index s)

Parse a row-index attribute string to a positive integer. Returns nil for absent, zero, negative, or non-numeric input.

Parse a row-index attribute string to a positive integer.
Returns nil for absent, zero, negative, or non-numeric input.
raw docstring

property-apicljs


tag-namecljs

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