Re: [w3c/webcomponents] Events whose composed flag should be true (#513)

> This was my earlier point:
>
> > The component _could_ fire a custom event, but that requires more boilerplate for its author (has to add listeners, catch it, forward a different name, and do cleanup work in detached). It's more natural to use the animation events already being fired. 
>
> IMO, that's all more complicated than it needs to be.

I could imagine we could add some sort of a hook in v2 to make this easier.  That is, add some API to specify whether a given event should propagate out of the current shadow tree.

But in general, the same argument could be used to make almost every event composed, and we don't want to do that at least for v1.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/513#issuecomment-238463560

Received on Tuesday, 9 August 2016 06:18:10 UTC