Пример #1
0
 public ValueTask Show(ToastOptions options)
 {
     return(jsInterop.ToastShow(options));
 }
Пример #2
0
 public async ValueTask ToastShow(ToastOptions options)
 {
     var module = await toastModuleTask.Value;
     await module.InvokeVoidAsync("toast", options.ToParams());
 }