Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sweetalert Example
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
You can’t perform that action at this time.