{#if loading && items.length == 0} {:else} {#each items.slice(0, maxShowCount) as item} { reloadToken2 += 1; }} /> {/each} {#if loading} {:else if items.length > maxShowCount} { maxShowCount += SHOW_INCREMENT; }} /> {/if} {/if}