- From: billmoser <notifications@github.com>
- Date: Thu, 08 Feb 2018 14:32:09 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 8 February 2018 14:32:35 UTC
I apologize in advance for my lack of proper terminology. Here's the issue: I have an element A, whose template has a slot. I'd like to fill the slot with another element, B, annotated with attributes which can only be computed by A. For example, A's template looks like this: ``` <slot name='myslot' cool-attr='Super Cool'></slot> ``` I would like to use element A like this: ``` <element-a> <element-b slot='myslot'></element-b> <element-a> ``` with element B picking up the attribute cool-attr. I don't see how to do this currently. I can achieve the effect I want easily with some code generation, but it would be great to see this as a 'native' feature -- 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/733
Received on Thursday, 8 February 2018 14:32:35 UTC