frontend/.pnpm-store/v3/files/49/b69bda99634215d98a7d78704df1d6e4606c9262b748389381a3ddc99eb457870dd605c6a1667b3a20c208c2a8b0db9b1ed9ffb0814f31379815a1a876804c

31 lines
677 B
Plaintext

<script>export let handler;
const rowsPerPage = handler.getRowsPerPage();
const options = [5, 10, 20, 50, 100];
</script>
<aside>
<span>{handler.i18n.show}</span>
<select bind:value={$rowsPerPage} on:change={() => handler.setPage(1)}>
{#each options as option}
<option value={option}>
{option}
</option>
{/each}
</select>
<span>{handler.i18n.entries}</span>
</aside>
<style>
aside{
display:flex;
justify-content:flex-start;
align-items: center;
height:32px;
color:#616161;
}
select{
margin:0 4px;
}
</style>