11@aware ([' component' ,' isTailwind' ,' isBootstrap' ,' isBootstrap4' ,' isBootstrap5' ] )
22
3- @if ($this -> hasConfigurableAreaFor (' before-pagination' ) )
4- @include ($this -> getConfigurableAreaFor (' before-pagination' ), $this -> getParametersForConfigurableArea (' before-pagination' ) )
5- @endif
3+ @includeWhen (
4+ $this -> hasConfigurableAreaFor (' before-pagination' ),
5+ $this -> getConfigurableAreaFor (' before-pagination' ),
6+ $this -> getParametersForConfigurableArea (' before-pagination' )
7+ )
68
79@if ($this -> isTailwind )
8- <div >
10+ <div {{ $this -> getPaginationWrapperAttributesBag () } } >
911 @if ($this -> paginationVisibilityIsEnabled () )
1012 <div class =" mt-4 px-4 md:p-0 sm:flex justify-between items-center space-y-4 sm:space-y-0" >
1113 <div >
4749 @endif
4850 </div >
4951@elseif ($this -> isBootstrap4 )
50- <div >
52+ <div {{ $this -> getPaginationWrapperAttributesBag () } } >
5153 @if ($this -> paginationVisibilityIsEnabled () )
5254 @if ($this -> paginationIsEnabled () && $this -> isPaginationMethod (' standard' ) && $this -> getRows -> lastPage () > 1 )
5355 <div class =" row mt-3" >
100102 @endif
101103 </div >
102104@elseif ($this -> isBootstrap5 )
103- <div >
105+ <div {{ $this -> getPaginationWrapperAttributesBag () } } >
104106 @if ($this -> paginationVisibilityIsEnabled () )
105107 @if ($this -> paginationIsEnabled () && $this -> isPaginationMethod (' standard' ) && $this -> getRows -> lastPage () > 1 )
106108 <div class =" row mt-3" >
152154 </div >
153155@endif
154156
155- @if ($this -> hasConfigurableAreaFor (' after-pagination' ) )
156- @include ($this -> getConfigurableAreaFor (' after-pagination' ), $this -> getParametersForConfigurableArea (' after-pagination' ) )
157- @endif
157+ @includeWhen (
158+ $this -> hasConfigurableAreaFor (' after-pagination' ),
159+ $this -> getConfigurableAreaFor (' after-pagination' ),
160+ $this -> getParametersForConfigurableArea (' after-pagination' )
161+ )
0 commit comments