{ capturing = false }} type="button" aria-label={capturing ? "recording shortcut - press a key combo" : "click to assign shortcut"} > {#if capturing}
type a combo
{:else if value}
{value}
{:else}
{placeholder}
{/if}
{#if value && !capturing}
{/if}