Class: Pager

FooTable. Pager

new Pager(total, current, size, page, forward) → {FooTable.Pager}

The pager object contains the page number and direction to page to.
Parameters:
Name Type Description
total number The total number of pages available.
current number The current page number.
size number The number of rows per page.
page number The page number to goto.
forward boolean A boolean indicating the direction of paging, TRUE = forward, FALSE = back.
Returns:
Type
FooTable.Pager

Extends

Members

current :number

The current page number.
Type:
  • number

forward :boolean

A boolean indicating the direction of paging, TRUE = forward, FALSE = back.
Type:
  • boolean

page :number

The page number to goto.
Type:
  • number

size :number

The number of rows per page.
Type:
  • number

total :number

The total number of pages available.
Type:
  • number
Copyright © 2016
Documentation generated by JSDoc 3.4.1 on 2017-07-06T21:37:43+02:00