{#if showItems} {#each items.slice(0, i) as item}
{item}
{/each} {/if}