Сладкий
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script>swal("My title", "My description", "success");</script>
Code Cat
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script>swal("My title", "My description", "success");</script>
swal({
title: "Good job!",
text: "You clicked the button!",
icon: "success",
button: "Aww yiss!"
});
swal({
title: "Good job!",
text: "You clicked the button!",
icon: "success",
button: "Aww yiss!",
});
swal({ title: "Good job!", text: "You clicked the button!", icon: "success", button: "Aww yiss!",});
Swal.fire({
position: 'top-end',
icon: 'success',
title: 'Your work has been saved',
showConfirmButton: false,
timer: 1500
})
customClass: {
container: 'havij',
popup: '...',
header: '...',
title: '...',
closeButton: '...',
icon: '...',
image: '...',
content: '...',
htmlContainer: '...',
input: '...',
inputLabel: '...',
validationMessage: '...',
actions: '...',
confirmButton: '...',
denyButton: '...',
cancelButton: '...',
loader: '...',
footer: '....',
timerProgressBar: '....',
}