- From: Hayato Ito <notifications@github.com>
- Date: Tue, 21 Feb 2017 19:48:41 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 February 2017 03:49:14 UTC
Thanks, however, I wont fix this, as you proposed. > storyList.querySelectorAll('il.breaking').forEach(function(element) {element.slot = 'breaking';}); I am afraid that this would mislead the usage of slots, which should have a declarative nature. e.g. If we append host's children later, after the shadow tree is created, inserted elements are never assigned to a slot, in a proposed approach. Thus, I am not a fan of adding slot attribute to host's children in an imperative way, in our example, because people might think that this is a recommended approach. -- 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/626#issuecomment-281561029
Received on Wednesday, 22 February 2017 03:49:14 UTC