(aria-selected-value {:keys [selected? interactive?]})Returns the aria-selected string value or nil (to remove the attribute).
Rules:
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)
(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.
(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.
(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).
(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.
(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.
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 |