Added: Svelte component

This commit is contained in:
Luc Mcgrady 2025-08-25 20:34:26 +01:00
parent 244aade836
commit 34c1dfd849
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<div>
Hello from svelte
</div>

View file

@ -5,7 +5,9 @@
@typescript-eslint/no-unused-vars: "off",
*/
import { mount } from "svelte";
import "./index.scss"
import ReviewerBottom from "./index.svelte"
let time: number; // set in python code
let timerStopped = false;
@ -64,3 +66,7 @@ function selectedAnswerButton(): string {
return node.dataset.ease;
}
mount(
ReviewerBottom,
{target: document.body},
)