Call JSInvokable method from a component #638
-
Hi all, [JSInvokable]
public async Task OnIntersection()
{
paginationData.NextPage();
await this.EndOfDataReached.InvokeAsync(paginationData);
} If I call directly So what's the proper solution to do this ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Chris, You need this: https://bunit.dev/docs/interaction/trigger-renders.html#invokeasync |
Beta Was this translation helpful? Give feedback.
Hi Chris,
You need this: https://bunit.dev/docs/interaction/trigger-renders.html#invokeasync