“Sweetalert” Kode Jawaban

Sweetalert

<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script>swal("My title", "My description", "success");</script>
Code Cat

Sweetalert

Swal.fire({
  position: 'top-end',
  icon: 'success',
  title: 'Your work has been saved',
  showConfirmButton: false,
  timer: 1500
})
Lively Ladybird

Sweetalert

swal({  title: "Good job!",  text: "You clicked the button!",  icon: "success",  button: "Aww yiss!",});
Obnoxious Oryx

Sweetalert

Swal.fire({
  title: 'Custom animation with Animate.css',
  showClass: {
    popup: 'animate__animated animate__fadeInDown'
  },
  hideClass: {
    popup: 'animate__animated animate__fadeOutUp'
  }
})
Ameen Usman

Sweetalert

Swal.fire({
  title: 'هل تريد الاستمرار؟',
  icon: 'question',
  iconHtml: '؟',
  confirmButtonText: 'نعم',
  cancelButtonText: 'لا',
  showCancelButton: true,
  showCloseButton: true
})
Clumsy Corncrake

Sweetalert

Swal.fire({
  position: 'top-end',
  icon: 'success',
  title: 'Your work has been saved',
  showConfirmButton: false,
  timer: 1500
})
Lively Ladybird

Sweetalert

swal("Good job!", "You clicked the button!", "success");
Easy Eagle

Sweetalert

swal("Good job!", "You clicked the button!", "error");
Uninterested Unicorn

Sweetalert

swal({  icon: "success",});
Cloudy Crossbill

Sweetalert

swal("Good job!", "success");
Homely Hippopotamus

Jawaban yang mirip dengan “Sweetalert”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya