Class: Paginator

VisualizationComponents. Paginator


new Paginator()

Wrapper component for a page list and selector

Source:
See:

Classes

PageButton
PageList

Methods


<private, static> _getPaginationState()

Return a pagination state object.

Source:
Returns:
Type
Object

<static> componentDidMount()

Register event listeners and fire request for data when the component mounts

Source:
Returns:
Type
null

<static> componentWillUnmount()

Deregister the event listeners when the component unmounts

Source:
Returns:
Type
null

<static> getInitialState()

Gets the initial state of the component by grabbing pagination information
from the PaginationStore

Source:
Returns:
Type
function

<static> nextPage()

Select the next page

Source:
Returns:
Type
null

<private, static> onChange()

Handle change events in pagination state.
When changes occur, we

Source:
Returns:
Type
null

<static> previousPage()

Select the previous page

Source:
Returns:
Type
null

<static> render()

Renders the pagination bar to the page

Source:
Returns:
Type
jsx

<static> selectPage(page)

Master parent callback to select a specific page.

Parameters:
Name Type Description
page number

The page to select

Source:
Returns:
Type
null