Class: PaginationComponent

PaginationComponent(dataObjectopt, optionsopt)

PaginationComponent shows controls for moving forward and back in list or collection.const

Constructor

new PaginationComponent(dataObjectopt, optionsopt)

Parameters:
Name Type Attributes Default Description
dataObject DataObject <optional>
null
options Object <optional>
null
Properties
Name Type Attributes Default Description
totalCount number <optional>
1
currentIndex number <optional>
1
Source:
To Do:
  • Make this watch a DataCollection or other DataObject that has a pagination interface and events
Example
const paginationComponent = new PaginationComponent(null, {
	totalCount: 10,
	currentIndex: 1
})

Members

currentIndex :number

Type:
  • number
Source:

currentIndex

Source:

totalCount :number

Type:
  • number
Source:

totalCount

Source: