Macros for defining functions that generate HTML
Macros for defining functions that generate HTML
(defelem name & fdecl)
Defines a function that will return a element vector. If the first argument passed to the resulting function is a map, it merges it with the attribute map of the returned element value.
Defines a function that will return a element vector. If the first argument passed to the resulting function is a map, it merges it with the attribute map of the returned element value.
(defhtml name & fdecl)
Define a function, but wrap its output in an implicit hiccup.core/html
macro.
Define a function, but wrap its output in an implicit [[hiccup.core/html]] macro.
(wrap-attrs func)
Add an optional attribute argument to a function that returns a element vector.
Add an optional attribute argument to a function that returns a element vector.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close