Liking cljdoc? Tell your friends :D

baredom.components.x-copy.model


attr-disabledcljs

source

attr-error-messagecljs

source

attr-fromcljs

source

attr-from-attrcljs

source

attr-hotkeycljs

source

attr-modecljs

source

attr-show-tooltipcljs

source

attr-success-messagecljs

source

attr-textcljs

source

attr-tooltip-mscljs

source

clampcljs

(clamp n lo hi)

Clamp integer n to [lo, hi].

Clamp integer n to [lo, hi].
sourceraw docstring

css-prefixcljs

source

error-detailcljs

(error-detail err)

Build the x-copy-error CustomEvent detail object.

Build the x-copy-error CustomEvent detail object.
sourceraw docstring

event-copy-errorcljs

source

event-copy-requestcljs

source

event-copy-successcljs

source

event-schemacljs

source

normalizecljs

(normalize {:keys [text-raw from-raw from-attr-raw mode-raw disabled-present?
                   show-tooltip-raw tooltip-ms-raw success-message-raw
                   error-message-raw hotkey-raw]})

Produce a normalized view-model map from raw attribute values.

Produce a normalized view-model map from raw attribute values.
sourceraw docstring

observed-attributescljs

source

parse-bool-default-truecljs

(parse-bool-default-true s)

nil/absent → true, "false"/"0" → false, anything else → true.

nil/absent → true, "false"/"0" → false, anything else → true.
sourceraw docstring

parse-int-poscljs

(parse-int-pos s default-v)

Parse a positive integer from s, returning default-v if not valid or not positive.

Parse a positive integer from s, returning default-v if not valid or not positive.
sourceraw docstring

parse-modecljs

(parse-mode s)

Returns "text" or "html", defaulting to "text".

Returns "text" or "html", defaulting to "text".
sourceraw docstring

property-apicljs

source

request-detailcljs

(request-detail {:keys [text from from-attr mode]})

Build the x-copy-request CustomEvent detail object.

Build the x-copy-request CustomEvent detail object.
sourceraw docstring

slot-defaultcljs

source

slot-tooltipcljs

source

success-detailcljs

(success-detail text)

Build the x-copy-success CustomEvent detail object.

Build the x-copy-success CustomEvent detail object.
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