We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 625a5e8 commit 26deea5Copy full SHA for 26deea5
src/Layout/Concerns/WithScroll.php
@@ -59,6 +59,16 @@ public function hasMorePages(): bool
59
return $this->getPageItems()->hasMorePages();
60
}
61
62
+ public function onFirstPage(): bool
63
+ {
64
+ return $this->getPageItems()->onFirstPage();
65
+ }
66
+
67
+ public function onLastPage(): bool
68
69
+ return $this->getPageItems()->onLastPage();
70
71
72
protected function getPageItems(?int $page = null): LengthAwarePaginator
73
{
74
$page ??= $this->getPage();
0 commit comments