gotoChunk(0)], ['End', () => gotoChunk(chunks.length - 1)] ]} /> {#if !secondary} {:else if reverse} {:else} {/if} {#snippet pagesIn(chunk: Chunk)} {#if chunk.secondary} {chunk.index + 1} - {chunk.index + 2} {:else} {chunk.index + 1} {/if} {/snippet}
{@render pagesIn(currentChunk)}
{#each chunks as chunk, index} {/each}
{reader.pages.length}