✨ A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 🇺🇦
MIT License
Bot releases are hidden (Show)
Swal.getCloseButton()
(#1177)Swal.getFocusableElements()
(#1177)keydownListenerCapture
boolean param, default false
keydownListenerCapture
is useful for those who are using SweetAlert2 along with Bootstrap modals. By default keydownListenerCapture
is false
which means when a user hits Esc, both SweetAlert2 and Bootstrap modals will be closed. Set keydownListenerCapture
to true
to fix that behavior.