pager-component

Pager ui component

pager

Pager ui component.

$ component install component/pager
  • show (n) emitted when a page is selected (0-based)

Set the total number of items to n.

Set the number of items per page to n. [5]

Return the total number of pages.

Select page n, .render(), and emit "show".

Select page n and .render().

Re-render the pager.

License

MIT