# 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

- FooTable.Class

### 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