Liking cljdoc? Tell your friends :D

baredom.components.x-i18n.model


attr-keycljs

source

attr-paramscljs

source

event-schemacljs

source

interpolatecljs

(interpolate template params)

Replace {placeholder} patterns in a template string with values from params map. Missing keys are left as-is.

Replace {placeholder} patterns in a template string with values from params map.
Missing keys are left as-is.
sourceraw docstring

method-apicljs

source

normalizecljs

(normalize key-val params-raw)

Normalize raw attribute values into a model map.

Normalize raw attribute values into a model map.
sourceraw docstring

observed-attributescljs

source

parse-paramscljs

(parse-params s)

Parse a JSON string into a ClojureScript map. Returns {} on nil, empty, or invalid JSON.

Parse a JSON string into a ClojureScript map.
Returns {} on nil, empty, or invalid JSON.
sourceraw docstring

property-apicljs

source

provider-event-changecljs

source

provider-tag-namecljs

source

resolve-keycljs

(resolve-key translations key-str)

Walk a dot-notation key path through a JS object. Returns nil if any segment is missing. E.g. (resolve-key obj "greeting.hello") -> (gobj/get (gobj/get obj "greeting") "hello")

Walk a dot-notation key path through a JS object.
Returns nil if any segment is missing.
E.g. (resolve-key obj "greeting.hello") -> (gobj/get (gobj/get obj "greeting") "hello")
sourceraw docstring

resolve-translationcljs

(resolve-translation translations fallback-translations key-str params)

Full resolution pipeline: look up key in current translations, fall back to fallback translations, interpolate with params, fall back to the raw key string.

Full resolution pipeline: look up key in current translations,
fall back to fallback translations, interpolate with params,
fall back to the raw key string.
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