PageNumbersMixin

Mixin that adds a page (item) number and total page (item) count to a component like Carousel that renders its contents as pages.

API

inject(template) method

Add the page numbers to a template.

Parameters:
  • template: stringthe inner template placed inside the page numbers container