{#each items as item} {#if item.key}
onSelect(item)} title={item.title}> {@html item.key} {#if item.badge} {item.badge} {/if}
{/if} {/each}