“Sweetalert” Code-Antworten

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

Ähnliche Antworten wie “Sweetalert”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen