Re: [w3c/webcomponents] [Shadow] Slotting indirect children (#574)

@trusktr my tabs example would then become:

```html
<my-tabs id="tabs">
    <my-tab>
        <my-tab-title root-host="tabs" slot="title">
            Title 1
        </my-tab-title>
        <my-tab-content root-host="tabs" slot="content">
            Content 1
        </my-tab-content>
    </my-tab>
    ...
</my-tabs>
```

Personally, I would like it to be more implicit. I do not think that `id` should be used for this purpose. In practise, you could not use just `tabs` because there might be other custom elements of the same type on this page and then the ids would conflict. After copying the markup, you would then always have to adjust it at different places.

-- 
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/574#issuecomment-250207402

Received on Wednesday, 28 September 2016 15:45:50 UTC