Description
A control button used by the pager.

Props

Name Type Default value Required? Description
disabled boolean false No Defines if the button is triggerable or not.
selected boolean false No Represents if the pager button is the currently selected one.
value number - Yes The page index of the button.

Computed

Name Type Description
aClasses string HTML classes to set on link tags.
liClasses string HTML classes to set on list items tags.
settings Settings Reference to the Settings object linked to the parent pager.

Methods


toggleSort() → {void}

Description
Toggles the sort order, looping between states `null => 'asc' => 'desc'`.
Returns
Nothing.
Fires

sendClick() → {void}

Description
Emits an event if the button is not datatable-pager-button#disabled.
Returns
Nothing.
Fires