FE/Plugins
[ Plugins ] Sweetalert2 Custom Class
HEON.D
2023. 8. 15. 17:11
Swal.fire({
...
customClass: {
container: '...',
popup: '...',
title: '...',
closeButton: '...',
icon: '...',
image: '...',
htmlContainer: '...'
input: '...',
inputLabel: '...',
validationMessage: '...',
actions: '...',
confirmButton: '...',
denyButton: '...',
cancelButton: '...',
loader: '...',
footer: '...'
timerProgressBar: '...'
}
})
https://stackoverflow.com/questions/59680384/adding-a-class-to-sweet-alert-2
Adding a class to sweet alert 2
This question has been raised for sweetalert 1 Adding class to sweet alert Now my question is, how can i add a custom class in sweetalert2? className: "new_class" does not work for me.
stackoverflow.com