I'm trying to explore how one could implement web-components in Elm natively using a minimal amount of Native code.
The approach I tried is to use some code from https://github.com/WebReflection/dom-class https://www.webreflection.co.uk/blog/2015/09/17/simplified-web-components-via-dom-class and adapt it to Elm I managed to register the component and have it mount the needed CSS https://github.com/pdamoc/elm-box If you want to try it: - clone the repository - use elm-github-install in the examples folder - elm-make FirstMain.elm --output=elm.js - open First.html Now, is it possible to start a potential Elm program and embed it in the constructor or in the onAttached handler? -- There is NO FATE, we are the creators. blog: http://damoc.ro/ -- 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 elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.