VuetablePaginationInfoMixin
Properties
css
type:
Objectdefault:
{ infoClass: 'left floated left aligned six wide column' }usage:
The
cssproperty holds most of the CSS classes that VuetablePaginationInfo uses in its template.
info-template
type:
Stringdefault:
"Displaying {from} to {to} of {total} items"usage:
The template string to be used to display the pagination information.
Available placeholders
{from}the starting record number displayed{to}the ending record number displayed{total}the total number of records available
no-data-template
type:
Objectdefault:
"No relevant data"usage:
The template string to be showned when there is no data to display.
Data
tablePagination
type:
Objectdefault:
nullThe pagination information received from Vuetable.
Computed
paginationInfo
params:none
return:
StringThe actual pagination information to be displayed after replacing all the placeholders with corresponding values.
Methods
setPaginationData
params:
- tablePagination:
Object-- pagination information
- tablePagination:
usage:
Setting the
tablePaginationdata to be used when rendering pagination component.
resetData
params:none
usage:
This method will set
tablePaginationto null.
Events
None