anki/ts/deckoptions/HtmlAddon.svelte
2021-04-25 19:02:30 +10:00

15 lines
310 B
Svelte

<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="typescript">
import { onMount } from "svelte";
export let html: string;
export let mounted: () => void;
onMount(mounted);
</script>
{@html html}