(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.
(camel-case-keys m)Recursively transforms all map keys into camel case.
Recursively transforms all map keys into camel case.
(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"]`.
(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.
(html-to-dom-attrs attrs)Converts all HTML attributes to their DOM equivalents.
Converts all HTML attributes to their DOM equivalents.
(join-classes classes)Join the classes with a whitespace.
Join the `classes` with a whitespace.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |