- From: Joseph Orbegoso Pea <notifications@github.com>
- Date: Mon, 05 Dec 2016 23:12:18 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 6 December 2016 07:13:03 UTC
> 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