Sweet Alert
Trigger modal And Trigger toast
And you can even trigger SweetAlert2 popups declaratively! Use the bindClickHandler() method for that:
Icons
A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes.
Examples
A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies.
A basic message | |
A title with a text under | |
A modal with a title, an error icon, a text, and a footer | |
Custom HTML description and buttons with ARIA labels | |
A dialog with three buttons | |
A custom positioned dialog | |
Custom animation with Animation | |
A confirm dialog, with a function attached to the "Confirm"-button... | |
... and by passing a parameter, you can execute something else for "Cancel". | |
A message with a custom image | |
A message with custom width, padding, background and animated Nyan Cat | |
A message with auto close timer | |
Right-to-left support for Arabic, Persian, Hebrew, and other RTL languages | |
AJAX request example | |
Mixin example | |
Declarative template example |