add propagarEventos

This commit is contained in:
2023-08-31 16:24:55 +02:00
parent 5301143c8d
commit d30235358c
18 changed files with 1156 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<script>
import { createEventDispatcher } from "svelte";
let dispatch = createEventDispatcher();
const pulsar = () => {
dispatch("pulsado");
};
</script>
<button type="button" on:click={pulsar}>Púlsame</button>