sagar001's avatar

How to pass somevalue to pagination links

Anybody know about passing boolean value with pagination link.

{{ $product->links('vendor.pagination.tailwind') }}
0 likes
5 replies
sagar001's avatar

I foundout this method is this correct method and tell me someone how to user that data inside the pagination page

{{ $product->links('vendor.pagination.tailwind',['show'=>'false']) }}
jlrdw's avatar

You append to the pagination see chapter on pagination. Will your boolean and be a 0 or a 1.

1 like
MichalOravec's avatar
Level 75

Ou you meant to the view, you are right but instead of 'false' just false

{{ $product->links('vendor.pagination.tailwind', ['show' => false]) }}
1 like

Please or to participate in this conversation.