Re: [w3c/webcomponents] Method for detecting finally-distributed nodes. (#611)

> add a new option

I think this is better. I was thinking about it, and there are three possible cases, two of which are already supported, when elements pass through a slot chain:

1. **Supported:** Run logic on elements specifically assigned to a slot, most likely at the beginning of a slot chain (`assignedNodes()`).
1. **Supported:** Run logic on elements that pass through a slot regardless if they are further distributed down the chain (`assignedNodes({flatten: true})`).
1. **Not supported:** Run logic on elements only if they are finally-distributed on the slot, at the end of a slot chain (`assignedNodes({someOtherOption: true})` and maybe require `flatten:true` as well?).

-- 
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/611#issuecomment-265077842

Received on Tuesday, 6 December 2016 07:13:03 UTC