Created
October 15, 2017 19:10
-
-
Save flyingluscas/f848e990ec74ef9aced464cff6cf0b3a to your computer and use it in GitHub Desktop.
Sweetalert Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swal({ | |
title: 'Bom trabalho!', | |
text: 'O seu pedido foi cadastrado com sucesso!', | |
icon: 'success', | |
button: 'Imprimir', | |
}) | |
.then(function () { | |
window.location.href = '/cadastro/servico' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment