Resultado de búsqueda
A beautiful replacement for JavaScript's "alert" - Simple. Fast. Reliable. Content delivery at its finest. cdnjs is a free and open-source CDN service trusted by over 12.5% of all websites, serving over 200 billion requests each month, powered by Cloudflare.
Installation. NPM/Yarn. NPM combined with a tool like Browserify or Webpack is the recommended method of installing SweetAlert. npm install sweetalert --save. Then, simply import it into your application: import swal from 'sweetalert'; CDN. You can also find SweetAlert on unpkg and jsDelivr and use the global swal variable.
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.
A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert. Latest version: 11.12.2, last published: 5 days ago. Start using sweetalert2 in your project by running `npm i sweetalert2`.
Get started! You can customize SweetAlert to fit your needs. View docs. A beautiful replacement for JavaScript's 'alert'.
A free, fast, and reliable CDN for sweetalert2. A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert.
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.