pagination
component, implemented in Ruby. Use it like any other matestack component in your apps, pages and components. It offers customizable options to simply achieve what is possible in bootstrap with this component. See below for more information about the possible options.bs_pagination(*args, &block)
:items
- Expects an array of hashes. Possible keys are: type, path, text and active:transition
or :link
. By default it's set as :transition
true
:size
- There are 3 different sizes. small, medium and large. By default the size is set as medium. Pass :sm
as argument for small size and :lg
for large size:aria_label
- Expects a String for attribute aria-label