mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
19 lines
528 B
Svelte
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>
|