[elm-discuss] Ho to work with the DOM of element where Elm is 'embed'ed.

2016-11-17 Thread Wouter In t Velt
I tried that in 0.17, and the embedded elm stuff was placed after the last existing child of the node where I embedded elm. So: ... Elm stuff -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To

[elm-discuss] Ho to work with the DOM of element where Elm is 'embed'ed.

2016-11-17 Thread 'Rupert Smith' via Elm Discuss
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