jquery - How to apply animation in sweet alert 2 when closing the modal? -




does know how apply animation sweet alert 2 on close? appears function(dismiss)doesn't seem trick.

$.ajax({   method:'post',   url:'sql/record.php',   data:formdata,   contenttype: false,   processdata: false,   success: function(response){     swal({       title: 'success!',       text: "new record has added.",       type: 'success',       animation: false,       customclass: 'animated tada',       showcancelbutton: false,       confirmbuttontext: 'ok'     }).then(function(result){     }, function(dismiss){       swal({customclass: 'animated bounceout'});     }   }); ); 





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -