A beautiful replacement for JavaScript's "alert"
Fixes some bugs in Internet Explorer 11. Thanks for the help @lionralfs!
<head>
instead of the bottom, so that the user can easily overwrite the CSS.content
visible by settings font-size: initial
Mostly for Safari users:
A major new release of SweetAlert is finally out, with many new features and improvements, including:
content
optionMake sure you read the upgrade guide and check out the new website to learn about all the new features!
Changelog:
Changelog:
showLoaderOnConfirm: true
(handy for AJAX requests that can take some time to validate).gulp
. This should make it easier for us not to break anything in upcoming releases (I've only added the most basic ones, pull requests for more tests are very welcome!)Here we go! We've finally reached 1.0.0! This release mostly fixes the bugs from 1.0.0-beta.
Changelog:
inputValue: "My text"
The goal of this release is to set things right and move to a more maintainable project structure so that new features can be pushed out easily. It will stay in beta for about a week, and during the time we welcome feedback and small bug fixes. Shortly after that, the final v1.0.0 will be released.
Changelog:
themes
-folder).dev/sweetalert.es6.js
, which should be edited while Gulp is running in order to compile it with Babel.dist/sweetalert.min.js
and dist/sweetalert.css
.inputPlaceholder
when using type: input
allowOutsideClick: false
works againChangelog:
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.animation
param.confirmButtonColor: false