Rositsa Ruseva

Rositsa Ruseva

  • 1.5k
  • 218
  • 33.7k

Using SweetAlert2 with Blazor Application

Jul 14 2022 8:55 PM

I am trying to call the SweetAlert2 method. 

Two tasks (for success and error) are created in one razor file, they are public and I fail to call them from another razor file. On the razor file, I have created 4 functions/tasks - 2 of them are with SweetAlert2 and the other two are with Toastr. I manage to call the ones with Toastr but not the ones with SweetAlert. Any idea how I can do that?

The created tasksI need to call it here


Answers (1)