Liking cljdoc? Tell your friends :D

flutter.shortcuts

provide shortened function signatures with hiccup-style shortcuts for classes and ids

provide shortened function signatures with hiccup-style shortcuts for classes and ids
raw docstring

wrap-id-and-class-shortcutsclj

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

wrap-optionalsclj

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

wrap-shortcutsclj

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

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

× close