-
-
Save anonymous/803534eb6496ffd7c36d to your computer and use it in GitHub Desktop.
How do I convert the elements in the intersection from documentFragments into nodes so that I can set attributes?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(reduce (fn [element] (dommy/set-attr! element :checked)) | |
( cs/intersection (set colors ) (set t))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment