yarn sweetalert2 3.2.0
ES6 module structure

latest releases: 11.10.8, 11.10.7, 11.10.6...
7 years ago

Helper functions and some static data are moved out of the main source file and into their own respective utils/*.js files. This kind of approach will help in the long run as more features are added, the main scope isn't going to be completely bloated.

The main lengthy block of code that sets the users provided options is replaced it with the extend() helper.

Don't miss a new sweetalert2 release

NewReleases is sending notifications on new releases.