“Sweet Alert JS” Kode Jawaban

Sweetalert

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

Sweet Alert in Java Script

<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>Copy
Doubtful Dingo

Sengkap Sumbal Konfirmasi Kelas Tombol

Swal.fire({
    title: 'example text',
    buttonsStyling: false,
    customClass: {
    	confirmButton: 'example-class' //insert class here
    }
})
Good Giraffe

Swal JS

<script src="sweetalert2.min.js"></script>
<link rel="stylesheet" href="sweetalert2.min.css">
Quaint Quagga

Contoh peringatan manis

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

Sweet Alert JS

swal("Good job!", "You clicked the button!", "success")
Purple Team

Jawaban yang mirip dengan “Sweet Alert JS”

Pertanyaan yang mirip dengan “Sweet Alert JS”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya