I am trying to create the following HTML snippet using clojure.browser.dom, but it looks like it works differently than hiccups,
<div data-role="controlgroup"> <a href="index.html" data-role="button">Yes</a> <a href="index.html" data-role="button">No</a> <a href="index.html" data-role="button">Maybe</a> </div>
What is the correct notation for generating an HTML element? Using
[:div {:data-role "controlgroup"} ...]
does not generate
<div data-role="controlgroup">
source share