Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

563
Vistas
Any alternative for the queue() function - SweetAlert2 v11.4.8
swal.queue is not a function TypeError: swal.queue is not a function

I would like to know the ways for the alternative of queue() function because it's now removed on the newer version. I tried adding the javascript library via the tag but was not possible because it was being bundled with other js libraries in scripts.bundle.js. I'm using Metronic theme and I don't want to update the bundled scripts with the outdated version of sweetalert which still has the queue() function.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Looks like there's no support for queuing alerts as it can be handled by Js Intervals/Promises. for example:

swal( {title: 'Modal 1', timer: 2000}).then(function(){ swal({title: 'Modal 2', timer: 2000}) })

or:

await swal({ title: 'Modal 1', timer: 2000 });

have a look here.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda