Fixup template
This commit is contained in:
parent
203caa020f
commit
895dfb40fc
|
|
@ -5,7 +5,7 @@ namespace RazorClassLibrary_CSharp
|
||||||
{
|
{
|
||||||
public class ExampleJsInterop
|
public class ExampleJsInterop
|
||||||
{
|
{
|
||||||
public static Task<string> Prompt(IJSRuntime jsRuntime, string message)
|
public static ValueTask<string> Prompt(IJSRuntime jsRuntime, string message)
|
||||||
{
|
{
|
||||||
// Implemented in exampleJsInterop.js
|
// Implemented in exampleJsInterop.js
|
||||||
return jsRuntime.InvokeAsync<string>(
|
return jsRuntime.InvokeAsync<string>(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue