Re: [webcomponents] Need "slotting changed" event (#288)

 We are supposed to support an event of change of "slot.getDistributedNodes()", rather than "slot.getAssingedNodes()", aren't we?

In this case, one DOM mutation potentially would have a *global* effect, which would cause the update of all distributed nodes of all slots in descendant trees. That could not be done in O(1).

If we are supposed to support only the change of "slot.getAssingedNodes", yeah, it would be simple. That could be possible in O(1) because it has only local effect within shadow tree.


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/288#issuecomment-176790362

Received on Friday, 29 January 2016 14:47:00 UTC