{#if $toastStore.length}
{#each filteredToasts as t, i (t)}
onMouseEnter(i)} on:mouseleave={() => onMouseLeave(i)} role={t.hideDismiss ? 'alert' : 'alertdialog'} aria-live="polite" >
{@html t.message}
{#if t.action || !t.hideDismiss}
{#if t.action}
onAction(i)}>{@html t.action.label}
{/if} {#if !t.hideDismiss}
toastStore.close(t.id)} >{buttonDismissLabel}
{/if}
{/if}
{/each}
{/if}