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)
sourceraw docstring

attr-disabledcljs

source

attr-interactivecljs

source

attr-row-indexcljs

source

attr-selectedcljs

source

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.
sourceraw 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.
sourceraw docstring

event-clickcljs

source

event-connectedcljs

source

event-disconnectedcljs

source

event-schemacljs

source

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).
sourceraw 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.
sourceraw docstring

observed-attributescljs

source

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.
sourceraw docstring

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