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

We don't want to provide the list of nodes being inserted or removed because computing that list requires O(n) operation especially in the "distributed" nodes case.  Since authors can easily store the list of flattened assigned nodes (a.k.a. distributed nodes), we should just let authors take the diff as required in a given use case.  We shouldn't be penalizing all other use cases in which the list of inserted or removed nodes are not needed.

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

Received on Tuesday, 2 February 2016 15:06:51 UTC