Passage sur SweetAlert2 car maintenu + ajout d'une image dans la popup mail
This commit is contained in:
12
lib/main.js
12
lib/main.js
@@ -6,9 +6,13 @@ $btnMail.removeAttr("disabled");
|
||||
|
||||
$btnMail.click(function (evt) {
|
||||
evt.preventDefault();
|
||||
swal({
|
||||
text: "anthony@dumas.cc",
|
||||
icon: "info",
|
||||
button: true
|
||||
Swal.fire({
|
||||
title: 'Email',
|
||||
html: "Vous pouvez m'envoyer un mail à <strong>anthony@dumas.cc</strong> !",
|
||||
imageUrl: './images/mail.jpg',
|
||||
imageWidth: 400,
|
||||
imageHeight: 200,
|
||||
imageAlt: 'Custom image',
|
||||
animation: false
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user