Resultado de búsqueda
Recipe Gallery. A collection of easy-to-digest code examples for specific tasks in about 30 lines of code or less. Queue with Progress Steps. Bootstrap 5 + custom loader. React example. React Router example. Formik example. Yes/No/Cancel Dialog. Draw Attention / Persistent Dialog.
Showing an alert. After importing the files into your application, you can call the swal function (make sure it's called after the DOM has loaded!) swal("Hello world!"); Preview. If you pass two arguments, the first one will be the modal's title, and the second one its text.
SweetAlert2. A beautiful, responsive, customizable, accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies.
A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 🇺🇦 - sweetalert2/sweetalert2
SweetAlert2. A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 172 followers.
SweetAlert2 automatically centers itself on the page and looks great no matter if you're using a desktop computer, mobile or tablet. It's even highly customizeable, as you can see below!
Description: Specify the exact amount of buttons and their behaviour. If you use an array, you can set the elements as strings (to set only the text), a list of ButtonOptions, or a combination of both. You can also set one of the elements to true to simply get the default options.