What happens when you embed Elm in an existing DOM element? Does it clear 
out the contents below that point and replace them with the output of the 
'view' function?

app = Elm.Main.embed(someWhere);

I'd like to be able to get the DOM contents at that point and scan them to 
extract some information, but also continue to display the original HTML 
that was there. I think I could achieve this using the techniques decribed 
in these two sources:

https://medium.com/@debois/elm-the-dom-8c9883190d20#.fzl0l22j9
https://gist.github.com/joakimk/57b4495fe5a4fd84506b

Just wondering if anyone has any suggestions or has previoulsy tried doing 
stuff like this?

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to