forked from MapComplete/MapComplete
Documentation
This commit is contained in:
parent
58bcdbe17a
commit
9e43be6a07
5 changed files with 79 additions and 51 deletions
8
test.ts
8
test.ts
|
@ -6,4 +6,12 @@ import {WikipediaLink} from "./Customizations/Questions/WikipediaLink";
|
|||
import {OsmLink} from "./Customizations/Questions/OsmLink";
|
||||
import {ConfirmDialog} from "./UI/ConfirmDialog";
|
||||
import {Imgur} from "./Logic/Imgur";
|
||||
import {VariableUiElement} from "./UI/Base/VariableUIElement";
|
||||
|
||||
|
||||
const html = new UIEventSource<string>("Some text");
|
||||
|
||||
const uielement = new VariableUiElement(html);
|
||||
uielement.AttachTo("maindiv")
|
||||
|
||||
window.setTimeout(() => {html.setData("Different text")}, 1000)
|
Loading…
Add table
Add a link
Reference in a new issue