On Saturday, October 8, 2016 at 10:29:27 PM UTC+1, Richard Feldman wrote:
>
> I'm catching up on this thread...so much impressive progress! :D
>
> It seems like:
>
>    - registerElement is enough to get node "my-component" and on 
>    "my-component-event" (with a custom decoder) working in Elm
>    - With the webcomponents-lite.min.js polyfill (16K gzipped), you can 
>    get registerElement working on IE11+
>    - Polymer components in particular...
>       - Require using Bower
>       - Reuquire at least webcomponents.min.js polyfill (36K gzipped) for 
>       Polymer components which depend on Shadow DOM
>       - Polymer 1.0 components that use Shady DOM should still work with 
>       the smaller webcomponents-lite polyfill
>    - If children are involved, you need to configure things like this 
>    <https://groups.google.com/d/msg/elm-discuss/8Q2xwRh6UYc/tGem48QjAQAJ> or 
>    else the children will disappear on interaction
>
> This comment about children is specific to Polymer and its shady dom, so 
tuck it under the 'Polymer components in particular' section. Outside of 
Polymer, there is no shady dom.

webcomponents-lite.js seems to work with Firefox - with shady dom or shadow 
dom. So far I've only seen the children dissappear on chrom with shady dom.

Have not tried any IE family browsers yet. They may need webcomponents 
instead of webcomponents-lite - to get a polyfill for the shadow DOM.
 

> Am I missing anything from this list?
>
> This is brilliant, hope someone can write this all up for reference at 
>> some stage. ;)
>
>
> I'm giving a talk in Vienna in a couple weeks, and I'd love to make it 
> around all the work you folks have done here. It's really great stuff! :)
>

Sounds good. Feel free to use any of my writeups or code towards your talk.

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