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