first commit
This commit is contained in:
10
public/assets/sweetalert2/src/staticMethods/fire.js
Normal file
10
public/assets/sweetalert2/src/staticMethods/fire.js
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Main method to create a new SweetAlert2 popup
|
||||
*
|
||||
* @this {new (...args: any[]) => any}
|
||||
* @param {...SweetAlertOptions} args
|
||||
* @returns {Promise<SweetAlertResult>}
|
||||
*/
|
||||
export function fire(...args) {
|
||||
return new this(...args)
|
||||
}
|
||||
Reference in New Issue
Block a user