The b.Pagination
constructor creates a pagination.
Modifier | Action |
---|---|
b.Centered | Center the pagination list ("Previous" button on the left side, "Next" on the right side) |
b.Right | Align the pagination list to the right ("Previous" and "Next" buttons on the left side) |
b.Rounded | Have rounded pagination buttons |
b.Small | Set size to small |
b.Medium | Set size to medium |
b.Large | Set size to large |
Child | Action |
---|---|
b.OnList(...any) | Apply children to the <ul class="pagination-list"> element |
b.PaginationLink(...any) | Add button-looking link to the <ul class="pagination-list"> element |
b.PaginationEllipsis(...any) | Add ellipsis to the <ul class="pagination-list"> element |
Anything else | Apply child to the <nav class="pagination"> element |
The b.PaginationPrevious
and b.PaginationNext
constructors create button-looking links.
The b.PaginationLink
and b.PaginationAHref
constructors create button-looking links for the pagination list section.
Modifier | Action |
---|---|
b.Current | Mark this link as being the current page |
b.Disabled | Mark this link as inactive |
The b.PaginationEllipsis
constructor creates an ellipsis for the pagination list section.