See this about boolean attributes:
http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#boolean-attributes
It would seem that the most correct thing would be {:flex true}
Since setAttribute takes a string value
(http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-F68F082) and freactive
should convert true to the string "true", this should work. Let me know if not.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.