I have tried adapting (simplifying) this example:

https://github.com/kevinlebrun/elm-polymer/tree/master/counter-elm-inside-polymer

I've got this:
https://gist.github.com/pdamoc/11b7f5e266a67201f3329b91f45f4b69

It kind works BUT, I cannot figure out why isn't the value of the counter
set to 2 in the beginning.

Kevin's counter works as expected but when I tried using that approach I
get some errors about no embed on undefined.

the idea is to implement multiple components in elm (single file) and use
them in elm. :)

Can someone help me fix this?


-- 
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.

Reply via email to