event.target === event.currentTarget && onclose()}>
{#each items as item, index (item.key)}
(active = index)} onclick={() => choose(item)} >
{item.label}
{#if item.detail}
{item.detail}
{/if} {#if item.hint}
{item.hint}
{/if}
{:else}
nothing matches
{/each}