Module: addon/components/sl-pagination

Extends

  • ember/Component

Members

(inner) actions :Object

Type:
  • Object
Source:

(inner) busy :Boolean

Whether the pagination is in a busy/working state

Type:
  • Boolean
Default Value:
  • false
Source:

(inner) classNames :Array.<String>

Type:
  • Array.<String>
Source:

(inner) currentPage :Number

The current page number

Type:
  • Number
Default Value:
  • 1
Source:

(inner) layout :Object

Type:
  • Object
Source:

(inner) tagName :String

Type:
  • String
Default Value:
  • 'ul'
Source:

(inner, nullable) totalPages :Number

The total number of pages

Type:
  • Number
Default Value:
  • null
Source:

Methods

(inner) actions:nextPage() → {undefined}

Progress forward one page

Source:
Returns:
Type
undefined

(inner) actions:previousPage() → {undefined}

Progress back one page

Source:
Returns:
Type
undefined

(inner) changePageBy(pageMod) → {undefined}

Change the current page number

Parameters:
Name Type Description
pageMod Number

The integer to increment the currentPage by

Source:
Returns:
Type
undefined

(inner) onFirstPage() → {Boolean}

Whether the current page is the first page

Source:
Observes:
  • currentPage
Returns:
Type
Boolean

(inner) onLastPage() → {Boolean}

Whether the current page is the last page

Source:
Observes:
  • currentPage, totalPages
Returns:
Type
Boolean