Can you conditionally wrap a custom element's slot in a parent element?

You could do this with processContent()
@bigopon has a good writeup here
If you need help, set up your non-working example on codesandbox, post it here, and I will give it a shot this weekend

2 Likes