pars click sweet alert code example Example: confirm sweet alert swal("Are you sure?", { dangerMode: true, buttons: true,});