Anki/ts/graphs/CountMethodRadios.svelte
2021-01-04 12:21:30 +01:00

19 lines
528 B
Svelte

<script lang="typescript">
import type { I18n } from "anki/i18n";
import { CardCountMethod } from "./graph-helpers";
export let i18n: I18n;
export let cardCountMethod: CardCountMethod;
const byType = "By card type";
const byQueue = "By scheduling Queue";
</script>
<label>
<input type="radio" bind:group={cardCountMethod} value={CardCountMethod.ByType} />
{byType}
</label>
<label>
<input type="radio" bind:group={cardCountMethod} value={CardCountMethod.ByQueue} />
{byQueue}
</label>