Re: [WICG/webcomponents] [declarative-custom-elements] do we need DOM parts or any template mechanism in spec? (Issue #1090)

sashafirsov left a comment (WICG/webcomponents#1090)

While I am for fully functional template as XSLT, the minimal templating with slots are already given some use cases. 
Like this [cem-menu](https://unpkg.com/@epa-wg/custom-element-dist@0.0.33/src/material/components/menu.html) which uses default slot ( view the sources for definition ).

But just a bit more complexity and without conditions, variables, reusable template calls ( apply-template )... it would be difficult to create even the [icon](https://github.com/EPA-WG/custom-element-dist/blob/5b825598d5e7c7e3f57896fac4f195badae6c03f/src/material/components/icon.html#L47)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1090#issuecomment-2795885754
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1090/2795885754@github.com>

Received on Friday, 11 April 2025 05:42:13 UTC