v0.16.155 - 41.2 / 23.3

<Collapse .../>

Similar to <Show/> , it renders its children based on a condition, the difference is that the element is not removed from the document if the condition becomes falsy. Useful for iframes, canvas, video, audio.

# Attributes

nametypedescription
whenanyonce when becomes truthy, it will show its children

# Snippet

# Reactive

A youtube video keeps playing in the background even if the collapse element is set to be hidden