A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pikax.me/vue-composable/composable/pagination/arrayPagination below:

Website Navigation


ArrayPagination | vue-composable

Paginates array, if the array changes size, it will handle the update

# State

The useArrayPagination function exposes the following reactive state:

State Type Description pageSize Number Current page size, allows to set the pageSize total Number Total elements currentPage Number Current page offset Number Current page offset from the beginning lastPage Number Last page number result Array Current page items # Methods

The useArrayPagination function exposes the following methods:

Signature Description next() Increments currentPage prev() Decrements currentPage first() Sets currentPage to 1 last() Sets currentPage = lastPage # Example # Code

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4