“Sweet Alert JS” Réponses codées

Sweetalisert

<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

Classe de bouton Swal Change Confirmer

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

Exemple de douce alerte

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

Réponses similaires à “Sweet Alert JS”

Questions similaires à “Sweet Alert JS”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code