Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

603
Views
SweetAlert abre otra alerta para evitar cerrar la alerta anterior

Quiero abrir otra alerta junto con la alerta anterior y evitar que se cierre la alerta anterior, pero la alerta anterior se cierra y se abre una nueva. Usé iziToast y puedo hacer esto, pero quiero usar SweetAlert.

Ejemplo de alerta dulce:

 const swalToast = Swal.mixin({ toast: true, iconColor: "white", customClass: { popup: "colored-toast" }, showConfirmButton: false, timerProgressBar: true, }); swalToast.fire({ title: "One", position: "bottom", timer: 5000, icon: "info", }); setTimeout(() => { swalToast.fire({ title: "Two", position: "bottom", timer: 1500, icon: "info", }); }, 2000);

ingrese la descripción de la imagen aquí

Ejemplo de iziToast:

 iziToast.info({ position: "bottomCenter", title: "One", message: "", timeout: 5000, }); setTimeout(() => { iziToast.info({ position: "bottomCenter", title: "Two", message: "", timeout: 1500, }); }, 2000);

ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

No es posible mostrar más de un modal a la vez, por diseño.

SweetAlert abre otra alerta para evitar cerrar la alerta anterior

Mostrar dos swal al mismo tiempo

2 o más modales al mismo tiempo

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!