- From: David Alsh <notifications@github.com>
- Date: Sat, 25 Nov 2023 16:07:27 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 26 November 2023 00:07:32 UTC
What's wrong with a self closing custom element? Seems useful in reducing verbosity in cases like custom input fields or icon wrappers where a closing tag is not necessary. ```html <custom-date-input format="iso" /> <fa-icon name="github" /> ``` vs ```html <custom-date-input format="iso"></custom-date-input> <fa-icon name="github"></fa-icon> ``` Where the closing tag is unnecessary and implies to consumers that the element could contain children. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/624#issuecomment-1826447469 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/624/1826447469@github.com>
Received on Sunday, 26 November 2023 00:07:32 UTC