Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

js invoke async function blazor

var value = await JS.InvokeAsync<Type>("functionName", args);

//Example : 
var id = await JS.InvokeAsync<string>("generateId", null);
 
PREVIOUS NEXT
Tagged: #js #invoke #async #function #blazor
ADD COMMENT
Topic
Name
4+9 =