npm i sweetalert2
npm install --save sweetalert2
npm i sweetalert2
npm install --save sweetalert2
swal fire types
swal({
title: "Are you sure?",
text: "Your will not be able to recover this imaginary file!",
type: "danger",
showCancelButton: true,
confirmButtonClass: "btn-danger",
confirmButtonText: "Yes, delete it!",
closeOnConfirm: false
},
function(){
swal("Deleted!", "Your imaginary file has been deleted.", "success");
});
sweetalert2
$ npm install sweetalert2
sweetalert2
Swal.fire(
'Data Add Successfully!',
'You clicked the button!',
'success'
)
sweetalert2
Swal.fire(
'Good job!',
'You clicked the button!',
'failed'
)
sweetalert 2 documentation
Swal.fire({
title: 'Error!',
text: 'Do you want to continue',
icon: 'error',
confirmButtonText: 'Cool'
})
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us