Liking cljdoc? Tell your friends :D

hiccup.def

Macros for defining functions that generate HTML

Macros for defining functions that generate HTML
raw docstring

defelemcljmacro

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

defhtmlcljmacro

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

wrap-attrsclj

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

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

× close