anki/ts/deckoptions/CheckBox.svelte
2021-06-21 17:01:44 +02:00

10 lines
266 B
Svelte

<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
export let value: boolean;
</script>
<label> <input type="checkbox" bind:checked={value} /> <slot /> </label>