PagerTag - HendrickxJorn/Gobln.Pager.Mvc GitHub Wiki

#PagerTag

Form .Net Core 2.0 there is the tag helper PagerTag will be avaible. This will work the same as @html.Pager().


@addTagHelper "*, Gobln.Pager.Mvc"

<pager page="Model.ToPage(1, 2)"
        pager-options="new PagerOptions()
                {
                    UrlDisable = true
                }" />

For an working example, check the test project in .Net Core 2.0