Created
May 19, 2020 05:40
-
-
Save rwaddin/5b098948a6ceb2508639f2940afa5054 to your computer and use it in GitHub Desktop.
Use sweetalert confirm in v 7x. if you use sweetalert v8x must use Swal.fire()
This file contains 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:"Sukses", text :"Setting berhasil dihapus", type : "success", showCancelButton : true}).then((result)=>{ | |
if (result.value) { | |
location.reload(); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment