Answers for "sweetalert html"

0

sweetalert allow html

<script>
  Swal.fire({ 
      html: "Hello, <strong>world!</strong>"
  });
</script>
Posted by: Guest on September-22-2021
1

sweet alert js

swal({
     title: "Deleted!",
     text: "Your row has been deleted.",
     button: "Close", // Text on button
     icon: "success", //built in icons: success, warning, error, info
     timer: 3000, //timeOut for auto-close
      buttons: {
        confirm: {
          text: "OK",
          value: true,
          visible: true,
          className: "",
          closeModal: true
        },
        cancel: {
          text: "Cancel",
          value: false,
          visible: true,
          className: "",
          closeModal: true,
        }
      }
     });
Posted by: Guest on May-17-2020
-1

sweetalert.js

swal("Hello world!");
Posted by: Guest on December-15-2020

Browse Popular Code Answers by Language