Skip to content

Releases: t4t5/sweetalert

SweetAlert 0.4.2

11 Feb 11:16
Compare
Choose a tag to compare

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 with allowOutsideClick.
  • 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

20 Jan 08:06
Compare
Choose a tag to compare

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

18 Jan 18:06
Compare
Choose a tag to compare

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