forked from MapComplete/MapComplete
9 lines
397 B
Text
9 lines
397 B
Text
import ThemeViewState from "./src/Models/ThemeViewState"
|
|
import SvelteUIElement from "./src/UI/Base/SvelteUIElement"
|
|
import ThemeViewGUI from "./src/UI/ThemeViewGUI.svelte"
|
|
import LayoutConfig from "./src/Models/ThemeConfig/LayoutConfig";
|
|
|
|
const state = new ThemeViewState(new LayoutConfig(<any> layout))
|
|
const main = new SvelteUIElement(ThemeViewGUI, { state })
|
|
main.AttachTo("maindiv")
|
|
|