Liking cljdoc? Tell your friends :D

app.components.x-timeline.model


attr-labelcljs


attr-positioncljs


attr-stripedcljs


child-event-clickcljs


child-event-connectedcljs


child-event-disconnectedcljs


child-tagcljs


event-schemacljs


event-selectcljs


item-positioncljs

(item-position position index)

Return the data-position string to assign to a child item. position — the coordinator's resolved position string index — the child's 0-based index

:start → always "start" :end → always "end" :alternating → even index → "start", odd index → "end"

Return the data-position string to assign to a child item.
position — the coordinator's resolved position string
index    — the child's 0-based index

:start       → always "start"
:end         → always "end"
:alternating → even index → "start", odd index → "end"
raw docstring

normalizecljs

(normalize {:keys [label-raw position-raw striped?]})

Normalise raw attribute inputs into a stable view-model map.

Input keys: :label-raw string | nil :position-raw string | nil :striped? boolean

Output keys: :label string :position string — "start" | "end" | "alternating" :striped? boolean

Normalise raw attribute inputs into a stable view-model map.

Input keys:
  :label-raw     string | nil
  :position-raw  string | nil
  :striped?      boolean

Output keys:
  :label     string
  :position  string  — "start" | "end" | "alternating"
  :striped?  boolean
raw docstring

observed-attributescljs


parse-positioncljs

(parse-position s)

Normalise a raw position attribute string to "start", "end", or "alternating". Unknown/nil values fall back to "start".

Normalise a raw position attribute string to "start", "end", or "alternating".
Unknown/nil values fall back to "start".
raw docstring

property-apicljs


select-detailcljs

(select-detail index status label)

Build the event detail map for an x-timeline-select event.

Build the event detail map for an x-timeline-select event.
raw docstring

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