UNPKG

sweetalert2

Version:

A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert

10 lines (9 loc) 200 B
/** * Main method to create a new SweetAlert2 popup * * @param {...SweetAlertOptions} args * @returns {Promise<SweetAlertResult>} */ export function fire(...args) { return new this(...args) }