List of items
Number of items in a page in case of multi.
ReadonlychangeEvent that is triggered when current item changes. Or page changes in case of multi.
Whether there is a next item or page or not.
Whether there is a next item or page or not.
Current item or page (in case of multi) index.
OptionalitemCurrent item (in case of non-multi).
List of items
OptionalpageCurrent page (in case of multi).
OptionalpagesList of pages of list of items per page. Used in case of multi.
PrivateperNumber of items in a page in case of multi.
Privateistrue if cycle is for pages (multi per page).
Change to next item
Change to previous item
To change the value of perPage call this method. It validates the value and regenerates pages as well.
Change current item/page to given index.
Takes a list and cycles through them.
This is good for showing a single item on the UI and letting user cycle through then with a click of a button.