carlrip / pager-web-component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pager-web-component

A simple example of a web component called x-pager.

Attributes

  • page - the initial page number to display
  • page-count - the number of pages that are available
  • class - "dark" or "light"

Methods

  • page(pageNumber) - changes the page to the page number specified

Events

  • pageChanged() - raised when the page has changed

About