sweetalert2 run js function on component code example
Example 1: sweetalert2
$ npm install sweetalert2
Example 2: sweetalert2
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
$ npm install sweetalert2
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>