Call JSInvokable method from a component #638
Answered
by
egil
ChrisProlls
asked this question in
Q&A
-
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.
Answered by
egil
Feb 18, 2022
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.
1 reply
Answer selected by
ChrisProlls
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Chris,
You need this: https://bunit.dev/docs/interaction/trigger-renders.html#invokeasync