Skip to main content

show

Retain an instance while excluding hidden content from layout and accessibility.

Quick reference​

SyntaxBehavior
show="open"Boolean expression; false hides but retains state.

Example​

<Column state="{open:true}">
<Button title="Toggle" on-press="toggle open" />
<Text show="open" text="Retained content" />
</Column>

Rules and validation​

The condition must be boolean. Hidden content retains its logical instance and local state. Static dependency checks still include the subtree. Use enter: / exit: endpoints for presence motion. Use if when the instance should be destroyed.

Conditional content · if · Presence