Liking cljdoc? Tell your friends :D

baredom.components.x-pagination.model


allowed-sizescljs

source

attr-boundary-countcljs

source

attr-disabledcljs

source

attr-labelcljs

source

attr-pagecljs

source

attr-sibling-countcljs

source

attr-sizecljs

source

attr-total-pagescljs

source

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

default-boundary-countcljs

source

default-labelcljs

source

default-pagecljs

source

default-sibling-countcljs

source

default-sizecljs

source

default-total-pagescljs

source

event-page-changecljs

source

event-schemacljs

source

next-disabled?cljs

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

normalizecljs

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

observed-attributescljs

source

parse-bool-attrcljs

(parse-bool-attr s)
source

parse-boundary-countcljs

(parse-boundary-count s)
source

parse-pagecljs

(parse-page s total)

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

Parse current page, clamped to [1, total].
sourceraw 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.
sourceraw docstring

parse-sibling-countcljs

(parse-sibling-count s)
source

parse-sizecljs

(parse-size s)
source

parse-total-pagescljs

(parse-total-pages s)
source

prev-disabled?cljs

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

property-apicljs

source

slot-nextcljs

source

slot-prevcljs

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