{ expanded = !expanded; dispatch("toggle", { expanded }); }}>
{#if expanded} {:else} {/if}