On Friday, October 7, 2016 at 3:00:17 PM UTC+1, Peter Damoc wrote:
>
>
> On Fri, Oct 7, 2016 at 4:41 PM, 'Rupert Smith' via Elm Discuss <
> [email protected] <javascript:>> wrote:
>
>> customelements.io is all built on top of Polymer is it? 
>>
>> Well, I got carried away. :) 
>
> Not all of those libraries rest on Polymer. A lot of them, however, do. :) 
>

So, without Polymer. To integrate Elm with web components would take what? 
How can I make a component in Elm, bind it to some angle brackets 
<my-component> and embed that inside another Elm application, such that 
only some of its events and state are exposed to the consumer application, 
and there is a nice simple API in Elm to interact with the embedded 
component. Also the Elm compiler will recognize this component, and 
automatically deal with issues around Html.Keyed for it to be able to 
preserve its internal state. And to do this in a way that the Elm component 
is also a valid Web Components.

To be honest, I don't even know much about the web components spec. What 
does the 'hello world' web component look like?

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