@webwriter/quiz
Version:
Add interactive tasks (multiple choice, order, free text, highlighting, or speech input). Make a quiz out of multiple tasks.
23 lines (17 loc) • 558 B
text/typescript
import {html} from "lit"
import {LitElementWw} from "@webwriter/lit"
import {customElement} from "lit/decorators.js"
import "@shoelace-style/shoelace/dist/themes/light.css"
import LOCALIZE from "../../localization/generated"
import {msg} from "@lit/localize"
declare global {interface HTMLElementTagNameMap {
"webwriter-task-hint": WebwriterTaskHint;
}}
("webwriter-task-hint")
export class WebwriterTaskHint extends LitElementWw {
localize = LOCALIZE
render() {
return html`<slot>
</slot>`
}
}