Example #1
0
 protected async Task OnNextClick() => await OnPageChange.InvokeAsync(PageIndex + 1);
Example #2
0
 protected async Task OnPreviousClick() => await OnPageChange.InvokeAsync(PageIndex - 1);
Example #3
0
        private async Task ChangePage(int currentIndex)
        {
            await OnPageChange.InvokeAsync(currentIndex);

            PageIndex = currentIndex;
        }