{#if collapsable}
{ expanded = !expanded; if (!expanded) { await tick(); header.scrollIntoView({ behavior: "smooth", block: "nearest" }); } }} /> {/if}
{#if expanded}
{/if}