Be sure to set a count value or you will get an "empty" pagination.
There are the following methods available to control the pagination.
next(): move forward in pagination
previous(): goes back to pagination
first(): to the first page
last(): to the last page
goto(pageNumber): to the specific page
lion-pagination fires an event on button click to notify the component's current state. It is useful for analytics purposes or to perform some actions on page change.
@current-changed: triggers when the current page is changed