{#snippet children(root)} Favorite Fruits {#if root.isOpen} {#each root.options as option} {option.value} {/each} {/if} {/snippet}