@bonitasoft/pagination-selector

A pagination selector

Usage no npm install needed!

<script type="module">
  import bonitasoftPaginationSelector from 'https://cdn.skypack.dev/@bonitasoft/pagination-selector';
</script>

README

pagination-selector

npmVersion

Pagination selector web component. Provide a UI to enter number of elements and page number.

Events

Generates a paginationChanged event when a value is entered

Attributes

  • nbElements (default: 10)
  • pageIndex (default: 0)
  • lang (default: en)

Usage

Run:

npm install @bonitasoft/pagination-selector

Then import node_modules/@bonitasoft/pagination-selector/lib/pagination-selector.es5.min.js

And you can use new html tag <pagination-selector lang="fr" nb-elements="20" page-index="1"></pagination-selector>