anki/ts/editor-toolbar/RawButton.svelte
2021-04-15 13:09:50 +02:00

11 lines
245 B
Svelte

<script lang="typescript">
import { onMount, createEventDispatcher } from "svelte";
export let html: string;
const dispatch = createEventDispatcher();
onMount(() => dispatch("mount", { button: null }));
</script>
{@html html}