1.0.4 • Published 1 year ago

@annoyingmouse/wc-pagination v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

This web component creates a pagination element.

Usage

<wc-pagination total="1000"
               current="1"
               page-size="15"></wc-pagination>
<script type="module" src="wc-pagination.js"></script>

Configuration

The pagination relies on three attributes.

Adding a total number variable is the total number of records.

Adding a current number variable is the current page.

Adding a page-size number variable is the number of records to be shown on the page.

License

MIT

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago