SweetAlert 0.4.2
Changelog:
- You can now install SweetAlert through NPM. Just run
npm install sweetalert
to get started! - AMD & CommonJS support! You can now avoid running SweetAlert as a global function if you want to. Thanks @danreeves and everyone else who has suggested this enhancement!
- Ability to hide "OK/Confirm"-button with
showConfirmButton: false
. This can be used if you prefer using a timer, or in combination withallowOutsideClick
. - Removal of generic class names (such as
.confirm
,.success
... etc). All classes are now prefixed with.sa-
to remove potential conflicts with your own stylesheets. Thanks @sushantdhiman!