Theams
Demo
Page 1
This is Small size (with class pagination-sm
)
This is Normal size
This is Large size (with class pagination-lg
)
Synchronized pagination elements
You can attach multiple paginators to your content and access them via class name. The following example show this case.
Options and events
-
Options explanation and default values:
-
totalPages
the number of pages (required, checked) -
startPage
the current page that show on start(default: 1) -
visiblePages
maximum visible pages (default: 5) -
href
template for pagination links (defaultfalse
) -
hrefVariable
variable name in href template for page number (default{{number}}
) -
first
text label (default:'First'
) -
prev
text label (default:'Previous'
) -
next
text label (default:'Next'
) -
last
text label (default:'Last'
) -
loop
carousel-style pagination (default:false
) -
paginationClass
the root style for pagination component (default:'pagination'
). You can use this option to apply your own style
-
Available event:
-
onPageClick
callback function-
Function parameters
-
event
object -
page
the number of page
-