ember-data-table-light

API Docs for: v0.0.3
Show:

TablePaginationMixin

Summary

Mixin that adds support for pagination in a table.

Methods

apply

Syntax

apply

(
  • obj
)
private

Summary

Parameters:

Returns:

applied object

detect

Syntax

detect

(
  • obj
)
Boolean private

Summary

Parameters:

Returns:

reopen

Syntax

reopen

(
  • arguments
)
private

Summary

Parameters:

Properties

currentPage

Syntax

currentPage

Number public

Summary

Current page number.

Default: 1

pageNumbers

Syntax

pageNumbers

Number public

Summary

Number of existing pages, calculated from {{#crossLink TablePagination#currentPage}}currentPage{{/crossLink}} and {{#crossLink TablePagination#recordsPerPage}}recordsPerPage{{/crossLink}}

recordsPerPage

Syntax

recordsPerPage

Number public

Summary

Number of records shown by page.

Default: 50

totalRecords

Syntax

totalRecords

Number public

Summary

Total number of records that are paginated. This is used to calculate the number of pages.

Default: null