I have used the SweetAlert library for displaying a pop up in my application. This is my code
swal({
title: "Are you sure?",
text: "Test message?",
type: "info",
showCancelButton: true,
focusConfirm: false,
confirmButtonColor: "#DD6B55",
confirmButtonText: "Yes",
cancelButtonText: "No"
}, function (isConfirm) {})
I need to add a close button in top right corner. Based on documentation, the close button available only for the SweetAlert2 library.
Is it possible to add close button in the SweetAlert1 library?