Re: [w3c/webcomponents] Need "slotchange" event (#288)

Yes, the way I'll define this is by modifying the insert/remove algorithms in https://dom.spec.whatwg.org/#mutation-algorithms to assign slotables to slots and queue dispatch of this event if there was a change in distribution (and no event was queued thus far). This means that distribution is defined to be synchronized (and can be observed synchronously through various attributes and methods), but implementations can still make all manners of optimizations as we won't require the event to include a lot of detail and such and while the attributes and methods are defined to have synchronous answers they can be computed lazily too.

---
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/288#issuecomment-205199858

Received on Monday, 4 April 2016 08:54:13 UTC