Would building a component to help extrapolate something like the following be beneficial?
Would it need to address how the callback works to the controller/page, or is a pass through good enough?
<gcds-pagination label="Pagination"
total-pages="@Model.TotalPages"
current-page="@Model.Result.ResultSet"
url='{ "queryStrings": { "page::match": 1, "pageSize": @Model.Result.ResultSize } }'>
</gcds-pagination>
A fully loaded component might look more like the following.
<gcds-pagination
display="simple"
label="Pagination"
previous-href="#previous"
previous-label="previous label"
next-href="#next"
next-label="next label"
lang="fr"
url="{
queryStrings: {
// Key value pairs
key: value,
},
fragment: string, // Target id
};"
>
</gcds-pagination>
Would building a component to help extrapolate something like the following be beneficial?
Would it need to address how the callback works to the controller/page, or is a pass through good enough?
A fully loaded component might look more like the following.