Releases: t4t5/sweetalert
Releases · t4t5/sweetalert
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!
SweetAlert 0.4.1
Changelog:
- Add IE8 and IE9 support.
- Update README with browser compatibility info
- Initialize DOM elements on first usage instead of on page load (Thanks @peterjosling!)
- [BUGFIX] Fix custom image size attribute
SweetAlert 0.4.0
Changelog:
- Add NPM and Gulp file for automatic minification
- Escape key now closes all modals
- Programatically close modals with
swal.close()
- Fix bug to change the OK-button's text to "Confirm" when showing the cancel-button
- Add
html
parameter to allow HTML code in modals - Allow the modal animation to be turned off by passing
animation: false