A beautiful replacement for JavaScript's "alert"
Changelog:
npm install sweetalert
to get started!showConfirmButton: false
. This can be used if you prefer using a timer, or in combination with allowOutsideClick
..confirm
, .success
... etc). All classes are now prefixed with .sa-
to remove potential conflicts with your own stylesheets. Thanks @sushantdhiman!Changelog:
Changelog:
swal.close()
html
parameter to allow HTML code in modalsanimation: false