MapComplete/src/UI/Test.svelte

17 lines
547 B
Svelte
Raw Normal View History

<script lang="ts">
// Testing grounds
import LanguageElement from "./Popup/LanguageElement/LanguageElement.svelte"
import { UIEventSource } from "../Logic/UIEventSource"
2023-12-19 22:21:34 +01:00
let tags = new UIEventSource({_country: "Be"})
</script>
2023-12-01 15:23:28 +01:00
<LanguageElement
feature={undefined}
item_render={"{language()} is spoken here"}
key="language"
layer={undefined}
question="What languages are spoken here?"
render_all={"Following languages are spoken here: {list()}"} single_render={"Only {language()} is spoken here"} state={undefined} {tags} />