Paginates array, if the array changes size, it will handle the update
# StateThe useArrayPagination
function exposes the following reactive state:
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:
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