mapcomplete/index_theme.ts.template

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
458 B
Text
Raw Normal View History

2023-04-13 23:40:28 +02:00
import { Utils } from "./Utils"
import ThemeViewState from "./Models/ThemeViewState"
import SvelteUIElement from "./UI/Base/SvelteUIElement"
import ThemeViewGUI from "./UI/ThemeViewGUI.svelte"
2021-12-21 18:35:15 +01:00
import LayoutConfig from "./Models/ThemeConfig/LayoutConfig";
2021-12-21 18:35:31 +01:00
// Miscelleanous
Utils.DisableLongPresses()
2023-04-13 23:40:28 +02:00
const state = new ThemeViewState(new LayoutConfig(<any> layout))
const main = new SvelteUIElement(ThemeViewGUI, { state })
main.AttachTo("maindiv")