- From: Joe Pea <notifications@github.com>
- Date: Tue, 11 Aug 2020 13:43:34 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 11 August 2020 20:43:47 UTC
> @calebdwilliams I think for the dialog usecase named slots are a reasonable solution. You then could do `slot[name="cancel"]::slotted(button) { whatever }` or what not. For that particular use case, where the slotted thing is a simple `<button>`, that would work. But it is easy to imagine use cases where an end user is asked to supply certain types of DOM trees. (For example, even with builtins we have `<table>`, `<thead>`, `<tr>`, `<td>`, etc). -- 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/889#issuecomment-672268966
Received on Tuesday, 11 August 2020 20:43:47 UTC