(class-map cmap)
Simple helper function for quickly adding/removing classNames to components. It is analgous to React's classSet helper. The map argument should be a map containing a key for the className and an expression that evaluates truthy or falsey.
Simple helper function for quickly adding/removing classNames to components. It is analgous to React's classSet helper. The map argument should be a map containing a key for the className and an expression that evaluates truthy or falsey.
(element tag & args)
Create DOM element with tag name and any options & children
Create DOM element with tag name and any options & children
Top level function for creation of elements
Top level function for creation of elements
(fragment body)
Apply all body elements into a Fragment element
Apply all body elements into a Fragment element
(process-args & vs)
Massage element arguments into a format React.createElement will accept
Massage element arguments into a format React.createElement will accept
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close