(as-str & xs)
Converts its arguments into a string using to-str.
Converts its arguments into a string using to-str.
(camel-case k)
Returns camel case version of the key, e.g. :http-equiv becomes :httpEquiv.
Returns camel case version of the key, e.g. :http-equiv becomes :httpEquiv.
(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"]`.
(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.
(react-fn type)
Return the symbol of a fn that build a React element.
Return the symbol of a fn that build a React element.
(to-str x)
Convert a value into a string.
Convert a value into a string.
(to-uri x)
Convert a value into a URI.
Convert a value into a URI.
(wrapped-type? type)
Return true if the element type
needs to be wrapped.
Return true if the element `type` needs to be wrapped.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close