Pagination slot
Used to customize the pagination component
let: variables
column- represents the current column.isColumnHovered: boolean - toggles when any item in the column is hovered currentlyisSorted: boolean - toggles when the current column is the one table is being sorted bysortDescending: boolean - indicates the order of current sorting-
sortable: boolean - indicates if the column is sortable rows: array - all rows passed to the table.firstPage:function - invoke to go to the next pageprevPage:function - invoke to go to the previous pagefirstPage:function - invoke to go to the first pagelastPage:function - invoke to go to the last pagegoTo:function - invoke and pass it a page number to the page (page number stars from 1)from:number - represents which item the table is sliced from, similar to index, but starts with 1to:number - represents which item the table is sliced tocurrentPage:number - represents which page the pagination is currently on - starts from 1totalItems:number - represents how many items there are in total of all pagestotalPages:number - represents how many pages there areenabled: (object - has properties calledfirstPage, prevPage, nextPage and lastPagewith boolean values that show if the button should be enabled