-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSweetalert.js
More file actions
42 lines (38 loc) · 993 Bytes
/
Sweetalert.js
File metadata and controls
42 lines (38 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//(async () => {
//const
//{value:} = await
Swal.fire({
title: "Bienvenido a MOGJI VIRTUAL SHOP!",
confirmButtonText: 'cerrar',
html: '<a href="Formulario.php"><span class="fas fa-file-alt"> Llenar formulario</span></a>',
footer: '<span class="orange">Completar esto es importante',
width: '33%',
padding: '1rem',
background: '#000000',
//backdrop: false,
//timer: 20000,
//timerProgressBar: true
toast: true,
//position: 'bottom-end'
//allwOutsideClick: false,
//allowEscapeKey: false,
//allowEnterKey: false,
//stopKeydownPropagation: false
//input
//inputPlaceholder
//inputValue
//inputOptions
//showConfirmButton
//confirmButtonColor: '#ff8c00'
showCancelButton: true,
cancelButtonText: 'Mas tarde',
cancelButtonAriaLabel: 'Mas tarde',
imageUrl: 'images/MOGJI.jpg',
imageWidth: '50px'
});
//if (tarde){
//swal.fire({
//tittle: 'Seleccionaste ${tarde}'
//});
//}
//})()