Web Component: j-Pagination


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-Pagination

  • responsive
  • easy usage

Configuration:

  • pages {String} pluralization for pages, e.g. zero, # one, # two-three-four, # others
  • items {String} pluralization for items e.g. # zero, # one, # two-three-four, # others
  • max {Number} shows a maximum count of pages (default: 8)
  • exec {String} link to function
  • NEW: nopages {Boolean} can hide pagination if the pages are less than 2 (default: false)

Important: The component caches values: pages and count.

Author