Exemple #1
0
 public async static Task <bool> Comfirmar(this IJSRuntime js, string titulo, string mensajes, TiposDeAlertas tiposDeAlertas)
 {
     return(await js.InvokeAsync <bool>("customComfirm", titulo, mensajes, tiposDeAlertas.ToString()));
 }
Exemple #2
0
 public async static Task <bool> AvisoAlert(this IJSRuntime js, string titulo, string tiempo, string position, TiposDeAlertas tiposDeAlertas)
 {
     return(await js.InvokeAsync <bool>("avisoAlert", titulo, position, tiempo, tiposDeAlertas.ToString()));
 }
Exemple #3
0
 public async static Task <object> MostrarMensajes(this IJSRuntime js, string titulo, string mensajes, TiposDeAlertas tiposDeAlertas)
 {
     return(await js.InvokeAsync <object>("Swal.fire", titulo, mensajes, tiposDeAlertas.ToString()));
 }