Liking cljdoc? Tell your friends :D

daiquiri.util


-camel-caseclj/s

(-camel-case k)
source

attrs-cacheclj/s

source

camel-caseclj/s

(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-keysclj/s

(camel-case-keys m)

Recursively transforms all map keys into camel case.

Recursively transforms all map keys into camel case.
sourceraw docstring

camel-case-keys*clj/s

(camel-case-keys* m)
source

element?clj/s

(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

fragment-tag?clj/s

(fragment-tag? tag)

Returns true if tag is the fragment tag "*" or "<>", otherwise false.

Returns true if `tag` is the fragment tag "*" or "<>", otherwise false.
sourceraw docstring

fragment?clj/s

(fragment? v)
source

html-to-dom-attrsclj/s

(html-to-dom-attrs attrs)

Converts all HTML attributes to their DOM equivalents.

Converts all HTML attributes to their DOM equivalents.
sourceraw docstring

join-classesclj/s

(join-classes classes)

Join the classes with a whitespace.

Join the `classes` with a whitespace.
sourceraw docstring

valid-key?clj/s

(valid-key? k)
source

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

× close