It's not 100% clear to me what you want to do, but if you ping me on #elm-dev on slack then I can probably help. Better to discuss it there
On Sat, Jan 7, 2017 at 12:18 PM, Peter Damoc <[email protected]> wrote: > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. -- 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.
