0.1.2 released.
class attribute can be a string, set, or sequential type now.
(-html (div :class big bold))
; div class=\big bold\/div
(-html (div :class #{big bold}))
; div class=\big bold\/div
(-html (div :class [big bold]))
; div class=\big bold\/div
--
You received this message because
Announcing stch.html. A library for HTML generation that supports Clojure
and ClojureScript. Based on ideas from Hoplon. Feedback is welcome.
Full documentation and examples can be found at
https://github.com/stch-library/html.
Add the following to your project dependencies to use: