You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For what version of Nuxt UI are you suggesting this?
v2.x
Description
Description
I would love to have a way to know that custom buttons passed to button slots can go to the previous, next, first or next page. Currently I know it by defining computed properties that calculate based on current page, per, and total pages like below
Then, I found UPagination itself already has them in it. I would like to reuse them in my component to avoid redundant declaration by letting them exposed through slot props.
For what version of Nuxt UI are you suggesting this?
v2.x
Description
Description
I would love to have a way to know that custom buttons passed to button slots can go to the previous, next, first or next page. Currently I know it by defining computed properties that calculate based on current page, per, and total pages like below
Then, I found
UPagination
itself already has them in it. I would like to reuse them in my component to avoid redundant declaration by letting them exposed through slot props.ui/src/runtime/components/navigation/Pagination.vue
Lines 252 to 253 in 912ec15
I've attached a sample below of how I would like to use the computed properties.
Additional context
No response
The text was updated successfully, but these errors were encountered: