anki/ts/deck-options/HtmlAddon.svelte

15 lines
310 B
Svelte
Raw Normal View History

<!--
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}