Skip to content

SweetAlert 0.5.0: Introducing prompt

Compare
Choose a tag to compare
@t4t5 t4t5 released this 19 Mar 15:17
· 205 commits to master since this release

Changelog:

  • Prompt feature (finally)! You can now pass in type: "input" to get a sweet looking prompt from SweetAlert! Check out the docs and examples to learn more about how to configure and validate the input field.
  • Two new animations: "slide-from-top" and "slide-from-bottom", which can be set through the animation param.
  • Clicking outside the modal now calls the callback function (if it exists), just like when you click the Cancel-button.
  • Possibility to disable confirm button color style manipulation by padding confirmButtonColor: false
  • Page scrolling is now deactivated when the input is shown.
  • Added a link to the SweetAlert tutorial on Ludu
  • Other smaller bug fixes