Paged List
A container for an unordered list of items. The items are shown paginated with a customizable number of items per page.
Example
const items = ['a', 'b', 'c'];
<gb-paged-list items="{items}" page-size="{20}"></gb-paged-list>
Properties
Property | Type | Default | Required | Notes |
---|---|---|---|---|
items |
Item[] | [] |
An array of items to display. | |
pageSize |
number | 20 | The number of items to show per page. |
State
Property | Type | Default | Notes |
---|---|---|---|
items |
Item[] | [] |
The items that are currently displayed. |
page |
number | 1 |
The current page. |
Events
This component does not listen for any events.