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
<script> | |
import rough from "roughjs/bin/rough"; | |
// npm i roughjs@4.0.4 | |
// https://roughjs.com/ | |
let roughSvg; | |
function action(node) { | |
roughSvg = rough.svg(node); |
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
<script> | |
import Swal from "sweetalert2"; | |
// npm i sweetalert2@9.7.2 | |
// https://sweetalert2.github.io/ | |
</script> | |
<!-- a simple alert --> | |
<button | |
on:click={() => { | |
Swal.fire('hello sweet alert'); |
OlderNewer