I want to ask how can I change icon
image in sweetalert
with image?
I've tried change icon
image in Swal.fire
with image from assets
, but it's not working
Here's the script
Swal.fire({
icon: "<?= base_url(); ?>assets/addon-media/icon_information.png",
html: "Are you sure want to add this ?",
showCancelButton: true,
confirmButtonText: 'Yes, Sure',
cancelButtonText: 'No, Cancel',
})