sweetalert2

sweetalert2

I have


                                                Swal({
toast: true,
title: 'Added to shopping bag',
icon: 'success',
animation: false,
position: 'center',
showConfirmButton: false,
timer: 3000,
timerProgressBar: true,
didOpen: (toast) => {
  toast.addEventListener('mouseenter', Swal.stopTimer)
  toast.addEventListener('mouseleave', Swal.resumeTimer)
}
})



But it isn't showing the Icon or the moving bar at the bottom. Any idea what is wrong please or missing? The message shows ok and vanishes


Thanks
    • Topic Participants

    • info