Class: Pagination

vef.search.Pagination(target, options)

A class creating a pagination with page *changed* events. Events: * changed

Constructor

new Pagination(target, options)

Initializes the pagination for the element defined by id and options.
Parameters:
Name Type Description
target string | HTMLElement
options object
Author:
Source:

Methods

show(page, pages)

Generates a new pagination for current page and number of pages.
Parameters:
Name Type Description
page number
pages number
Source: