When you need more control over pagination items you would use the functions in this module.
Create a pagination link (a) element.
Create a pagination span element.
Set this particular item as active/selected in the pagination widget.
Set this item as disabled. For links it will also set tabindex to -1 and override the clickhandler.
Customize the (li) element container for a pagination item.
Opaque type representing configuration options for an item (regardless of whether its a Link or a Span).
Opaque type representing an pagination item.
Creates an initial item configuration.