![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@fouita/pagination
Advanced tools
Simple pagination component built with svelte and tailwindcss
$npm i @fouita/pagination -D
<script>
import Pagination from '@fouita/pagination'
let current =1
let num_items=30
let per_page=3
</script>
<Pagination bind:current={current} {num_items} {per_page} />
<Pagination rounded bind:current={current} {num_items} {per_page} />
<Pagination small rounded bind:current={current} {num_items} {per_page} />
You can use a color from tailwindcss list (gray, red, blue, indigo, pink, purple, teal, orange, yellow)
<Pagination small rounded color="pink" bind:current={current} {num_items} {per_page} />
You can add
<script>
import Pagination from '@fouita/pagination'
let current =1
let num_items=30
let per_page=3
</script>
<div class="flex justify-between items-center">
<div class="flex items-center">
Per page:
<select class="border px-2 rounded ml-2" bind:value={per_page}>
<option>3</option>
<option>5</option>
<option>10</option>
</select>
</div>
<Pagination small bind:current={current} {num_items} per_page={per_page} />
</div>
if you like to perform some actions or API requests when navigating through pages, you can do so by calling on:navigate
event.
<script>
import Pagination from '@fouita/pagination'
let current =1
let num_items=30
let per_page=3
// let list_fetch = ... your init data
async function changePage(evt){
current = evt.detail
// list_fetched = ... FETCH DATA HERE
}
</script>
<Pagination small {current} {num_items} per_page={per_page} on:navigate={changePage} />
FAQs
Simple pagination component built with svelte and tailwindcss
The npm package @fouita/pagination receives a total of 3 weekly downloads. As such, @fouita/pagination popularity was classified as not popular.
We found that @fouita/pagination demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.