On Wednesday, October 11, 2017 at 1:23:36 PM UTC-4, James Reeves wrote:
>
> If you output your HTML as DOM nodes, rather than a string, you can just 
> attach the function directly to the attribute.
>

Aha! I have only ever mucked with innerHTML, I will have to look into this 
approach.

Meanwhile, I just did some more inspecting of the Reagent app in the 
browser and sure enough the only event listeners I see are on the document, 
and they call DispatchEvent. But your approach sounds a lot simpler.

Thx, kt

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to