Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

561
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda