Pagination
The pagination makes use of the WithPagination trait from Livewire.
Passing data
You can use the $paginationData property in order to pass data to the paginator.
php
protected array $paginationData = [
//
];Scroll behavior
After navigating between pages, the paginator will automatically scroll to the top of the page. You can disable this behavior by setting scrollTo to false. Visit the documentation of Livewire for more information.
php
protected array $paginationData = [
'scrollTo' => false,
];