You should be able to use "set!" (fn [node] (set! (.-checked node) true))
CK
Use set-prop instead of set-attr. It another transform. Sorry for the short messages only have my phone on me.
CK
That is what set-prop was designed for. What version of enfocus are you using.
CK
It seems that I left set-prop out if the base transforms. This was not intentional and will be fixed this weekend when i get back from vacation. In the mean time here is a custom transform to do what you need.
(defn set-checked []
(ef/chainable-standard
(fn [node] (set! (.-checked node) true))))
C K
--
---
You received this message because you are subscribed to a topic in the Google Groups "Enfocus" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/enfocus/c87sFLOrhPQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to enfocus+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dan,
These are css3 selectors so to select an item by an attribute like name. You need a selector like "[name='...']" vs "#..."
You received this message because you are subscribed to the Google Groups "Enfocus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enfocus+u...@googlegroups.com.