Constructor
new PaginationComponent(dataObjectopt, optionsopt)
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dataObject |
DataObject |
<optional> |
null | ||||||||||||||||
options |
Object |
<optional> |
null |
Properties
|
- 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
currentIndex
totalCount :number
Type:
- number