Liking cljdoc? Tell your friends :D

sablono.util


*base-url*clj/s

source

as-strclj/s

(as-str & xs)

Converts its arguments into a string using to-str.

Converts its arguments into a string using to-str.
sourceraw docstring

attr-patternclj/s

(attr-pattern attr)

Returns a regular expression that matches the HTML attribute attr and it's value.

Returns a regular expression that matches the HTML attribute `attr`
and it's value.
sourceraw docstring

camel-caseclj/s

(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.
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

compact-mapclj/s

(compact-map m)

Removes all map entries where the value of the entry is empty.

Removes all map entries where the value of the entry is empty.
sourceraw docstring

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

match-tagclj/s

(match-tag s)

Match s as a CSS tag and return a vector of tag name, CSS id and CSS classes.

Match `s` as a CSS tag and return a vector of tag name, CSS id and
CSS classes.
sourceraw docstring

merge-with-classclj/s

(merge-with-class & maps)

Like clojure.core/merge but concatenate :class entries.

Like clojure.core/merge but concatenate :class entries.
sourceraw docstring

normalize-elementclj/s

(normalize-element [tag & content])

Ensure an element vector is of the form [tag-name attrs content].

Ensure an element vector is of the form [tag-name attrs content].
sourceraw docstring

react-fnclj/s

(react-fn tag)

Same as react-symbol but wrap input and text elements.

Same as `react-symbol` but wrap input and text elements.
sourceraw docstring

react-symbolclj/s

(react-symbol tag)

Returns the React function to render tag as a symbol.

Returns the React function to render `tag` as a symbol.
sourceraw docstring

strip-attrclj/s

(strip-attr s attr)

Strip the HTML attribute attr and it's value from the string s.

Strip the HTML attribute `attr` and it's value from the string `s`.
sourceraw docstring

strip-cssclj/s

(strip-css s)

Strip the # and . characters from the beginning of s.

Strip the # and . characters from the beginning of `s`.
sourceraw docstring

strip-outerclj/s

(strip-outer s)

Strip the outer HTML tag from the string s.

Strip the outer HTML tag from the string `s`.
sourceraw docstring

ToStringclj/sprotocol

to-strclj/s

(to-str x)

Convert a value into a string.

Convert a value into a string.
source

ToURIclj/sprotocol

to-uriclj/s

(to-uri x)

Convert a value into a URI.

Convert a value into a URI.
source

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

× close