mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
14 lines
397 B
Svelte
14 lines
397 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">
|
|
import { bridgeCommand } from "@tslib/bridgecommand";
|
|
import type { AnswerButtonInfo } from "./types";
|
|
|
|
export let info: AnswerButtonInfo;
|
|
</script>
|
|
|
|
<button on:click={() => bridgeCommand(`ease${info.i}`)}>
|
|
{info.label}
|
|
</button>
|