villainoustourist / Blazor.Pagination

A reusable pagination component for Blazor.
MIT License
38 stars 18 forks source link

Five visible page limit? #2

Closed AskYous closed 4 years ago

AskYous commented 4 years ago

This package is great. I don't want to re-invent the wheel. But the 5 page limit is really disappointing. Can we increase/decrease it?

villainoustourist commented 4 years ago

VisiblePages is now a parameter, eg.

<BlazorPager CurrentPage="@_data.CurrentPage" PageCount="@_data.PageCount" OnPageChanged="(async e => { _page = e; await FetchData();})" VisiblePages="10" />