forked from MapComplete/MapComplete
Merge latest master
This commit is contained in:
commit
63b4fe0ee1
24 changed files with 324 additions and 171 deletions
25
test.ts
25
test.ts
|
@ -1,24 +1 @@
|
|||
import {UIEventSource} from "./UI/UIEventSource";
|
||||
import {Changes} from "./Logic/Changes";
|
||||
import {OsmConnection} from "./Logic/OsmConnection";
|
||||
import {ElementStorage} from "./Logic/ElementStorage";
|
||||
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";
|
||||
import {TextField} from "./UI/Input/TextField";
|
||||
import {FixedInputElement} from "./UI/Input/FixedInputElement";
|
||||
import {RadioButton} from "./UI/Input/RadioButton";
|
||||
import {DropDown} from "./UI/Input/DropDown";
|
||||
import {FixedUiElement} from "./UI/Base/FixedUiElement";
|
||||
|
||||
const dropdown = new RadioButton<string>(
|
||||
[new FixedInputElement("5","5"),
|
||||
new TextField({
|
||||
toString: ((str) => str),
|
||||
fromString: ((str) => str),
|
||||
})]
|
||||
).AttachTo("maindiv");
|
||||
const value = dropdown.GetValue();
|
||||
value.setData("asldkjvmqlksjdf")
|
||||
console.log("Hello world")
|
Loading…
Add table
Add a link
Reference in a new issue