Liking cljdoc? Tell your friends :D

daiquiri.util


-camel-case

(-camel-case k)
source

attrs-cache

source

camel-case

(camel-case k)

Returns camel case version of the key, e.g. :http-equiv becomes :httpEquiv. Does not convert string attributes.

Returns camel case version of the key, e.g. :http-equiv becomes :httpEquiv.
Does not convert string attributes.
sourceraw docstring

camel-case-keys

(camel-case-keys m)

Recursively transforms all map keys into camel case.

Recursively transforms all map keys into camel case.
sourceraw docstring

element?

(element? x)

Return true if x is an HTML element. True when x is a vector and the first element is a keyword, e.g. [:div] or [:div [:span "x"].

Return true if `x` is an HTML element. True when `x` is a vector
and the first element is a keyword, e.g. `[:div]` or `[:div [:span "x"]`.
sourceraw docstring

html-to-dom-attrs

(html-to-dom-attrs attrs)

Converts all HTML attributes to their DOM equivalents.

Converts all HTML attributes to their DOM equivalents.
sourceraw docstring

join-classes

(join-classes classes)

Join the classes with a whitespace.

Join the `classes` with a whitespace.
sourceraw docstring

valid-key?

(valid-key? k)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close