- From: Sasha Firsov <notifications@github.com>
- Date: Thu, 22 Feb 2024 12:11:58 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 February 2024 20:12:02 UTC
@EisenbergEffect , > How is conditional rendering and list rendering handled? This is not relevant to the topic of this issue. But there are several answers to it. * via css tied to one of attributes on container. can be DCE parameters as attributes * via `slots` presented in template and their default vs payload. * via condition in part evaulation `{ someFlag ?? 'example value'}` * via rendering instructions `<xsl:if test="{someFlag='abc'}"> example value </xsl:if>` As of now I do not see a conflict between any of those approaches. All are working in `custom-element` DCE POC. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1035#issuecomment-1960217508 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1035/1960217508@github.com>
Received on Thursday, 22 February 2024 20:12:02 UTC