- From: Yuriy Kravets <notifications@github.com>
- Date: Tue, 15 Dec 2020 11:57:42 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 15 December 2020 19:57:54 UTC
@dannymcgee most of the things you can already do without using `is`, just wrap native elements like `input` or `select` by a custom element, for example: ```HTML <styled-input> <input type="text" slot="input"> </styled-input> ``` For a more complex structure, however, it becomes somewhat cumbersome since you can only apply styles to the first level of slotted content: ```HTML <styled-label> <label slot="label"> <styled-input> <input type="text" slot="input"> </styled-input> </label> </styled-label> ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/509#issuecomment-745531181
Received on Tuesday, 15 December 2020 19:57:54 UTC