Liking cljdoc? Tell your friends :D

app.components.x-pagination.model


allowed-sizescljs


attr-boundary-countcljs


attr-disabledcljs


attr-labelcljs


attr-pagecljs


attr-sibling-countcljs


attr-sizecljs


attr-total-pagescljs


build-page-itemscljs

(build-page-items current total siblings boundary)

Returns a sequence of {:type :page :n N} and {:type :ellipsis} maps. current — 1-indexed current page total — total page count siblings — pages shown on each side of current boundary — pages always shown at start and end

Returns a sequence of {:type :page :n N} and {:type :ellipsis} maps.
current  — 1-indexed current page
total    — total page count
siblings — pages shown on each side of current
boundary — pages always shown at start and end
raw docstring

default-boundary-countcljs


default-labelcljs


default-pagecljs


default-sibling-countcljs


default-sizecljs


default-total-pagescljs


event-page-changecljs


event-schemacljs


next-disabled?cljs

(next-disabled? {:keys [page total-pages disabled]})

normalizecljs

(normalize {:keys [page-raw total-pages-raw sibling-count-raw boundary-count-raw
                   size-raw disabled-present? label-raw]})

observed-attributescljs


parse-bool-attrcljs

(parse-bool-attr s)

parse-boundary-countcljs

(parse-boundary-count s)

parse-pagecljs

(parse-page s total)

Parse current page, clamped to [1, total].

Parse current page, clamped to [1, total].
raw docstring

parse-pos-intcljs

(parse-pos-int s fallback)

Parse string to positive integer ≥ 1, returning fallback on failure.

Parse string to positive integer ≥ 1, returning fallback on failure.
raw docstring

parse-sibling-countcljs

(parse-sibling-count s)

parse-sizecljs

(parse-size s)

parse-total-pagescljs

(parse-total-pages s)

prev-disabled?cljs

(prev-disabled? {:keys [page disabled]})

property-apicljs


slot-nextcljs


slot-prevcljs


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