frontend/.pnpm-store/v3/files/68/f1aff366975dce936c9eee1e735bd2526ded1811f113320036a07eb7c2c5db2b632ae3fa674bb5808f6283739b601c2ffb0273483685c8f7d95f831ae2f589

31 lines
665 B
Plaintext

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