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

In a tree of node trees where all the trees are mode open, it is possible to implement `slot.distributedNodes()` like so:

- Let `slot` be the context object.
- If (slot.assignedSlot)
  - return []
- else
  - return slot.assignedNodes({flatten:true})

This doesn't work with closed trees obviously; that's where I'm having trouble figuring out the least hacky way to do this.

An official method for this would be nice because we wouldn't need to make a hack when dealing with the closed trees.

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

Received on Monday, 28 November 2016 04:09:16 UTC