Pagination
IzzyBlazor.Pagination in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (12)
@bind-Pageint?The current page, from 1. When not set it is read from the query string (QueryKey). With @bind-Page on an interactive page, the links become buttons that update it.
PageCountint?How many pages there are. Or set TotalItems and PageSize.
TotalItemsint?PageSizeint = 20Items per page, with TotalItems. Defaults to 20.
QueryKeystring = "page"The query-string key for the page. Defaults to page. Page 1 leaves it out of the URL.
Siblingsint = 1Pages shown on each side of the current one. Defaults to 1.
Boundariesint = 1Pages always shown at each end. Defaults to 1.
SizeControlSize = ControlSize.MdButton size, shared with buttons and fields. Defaults to ControlSize.Md.
Labelstring? = "Pagination"The navigation landmark's name. Defaults to "Pagination".
PreviousLabelstring? = "Previous page"The previous button's name. Defaults to "Previous page".
NextLabelstring? = "Next page"The next button's name. Defaults to "Next page".
PageLabelstring? = "Page"Read before each page number by screen readers. Defaults to "Page".
Item props (from LayoutItemBase)
Margin on all sides, in spacing steps (-16 to 16; one step = 4px).
Width.
Minimum width.
Maximum width.
Growbool = falseWhether to grow into free space inside a Stack, Row or Column: <Box Grow>.
Shrinkbool = trueWhether to shrink when space is short inside a Stack, Row or Column. Defaults to true; Shrink="false" keeps the size.
Starting size inside a Stack, before growing or shrinking.
Alignment across the parent's direction, overriding the parent's Align for this component only, such as a button lined up with the bottom of labeled fields in a Row.
Common props (from IzzyComponentBase)
Classstring?Extra CSS classes, merged after the component's own classes.
Stylestring?Inline style, appended after the component's generated custom properties.
VisibleFromBreakpoint?Shows the component only from this breakpoint up, such as header links for wide screens.
Events (0)
No events.
Types (1)
ControlSize
enumThe height of interactive controls. Shared by buttons and form fields, so a button and an input of the same size line up in a row.
| Value | Description |
|---|---|
Sm | 32px tall, small text. |
Md | 36px tall (the default). |
Lg | 44px tall, large text. For touch-first and marketing pages. |