Liking cljdoc? Tell your friends :D

app.components.x-timeline.model


attr-labelcljs

source

attr-positioncljs

source

attr-stripedcljs

source

child-event-clickcljs

source

child-event-connectedcljs

source

child-event-disconnectedcljs

source

child-tagcljs

source

event-schemacljs

source

event-selectcljs

source

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

observed-attributescljs

source

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

property-apicljs

source

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

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