provide shortened function signatures with hiccup-style shortcuts for classes and ids
provide shortened function signatures with hiccup-style shortcuts for classes and ids
(wrap-id-and-class-shortcuts f)
parse css-style #id and .class from the field type, like hiccup.
parse css-style #id and .class from the field type, like hiccup.
(wrap-optionals f)
make attrs and opts optional
(f type name value) -> (f type nil name nil value)
if attrs is a map: (f type attrs name value) -> (f type attr name nil value) else: (f type name opts value) -> (f type nil name opts value)
make attrs and opts optional (f type name value) -> (f type nil name nil value) if attrs is a map: (f type attrs name value) -> (f type attr name nil value) else: (f type name opts value) -> (f type nil name opts value)
(wrap-shortcuts f)
make attrs and opts optional and allows hiccup-style #id and .class shortcuts for type. See wrap-optionals and wrap-id-and-class-shortcuts
make attrs and opts optional and allows hiccup-style #id and .class shortcuts for type. See wrap-optionals and wrap-id-and-class-shortcuts
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close