2020-07-01 15:38:48 +00:00
|
|
|
import {UIEventSource} from "./UI/UIEventSource";
|
2020-07-05 16:59:47 +00:00
|
|
|
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";
|
2020-07-08 09:23:36 +00:00
|
|
|
import {ConfirmDialog} from "./UI/ConfirmDialog";
|
2020-07-08 13:09:34 +00:00
|
|
|
import {Imgur} from "./Logic/Imgur";
|
2020-07-15 11:15:36 +00:00
|
|
|
import {VariableUiElement} from "./UI/Base/VariableUIElement";
|
2020-07-20 13:54:50 +00:00
|
|
|
import {TextField} from "./UI/Input/TextField";
|
|
|
|
import {FixedInputElement} from "./UI/Input/FixedInputElement";
|
|
|
|
import {RadioButton} from "./UI/Input/RadioButton";
|
2020-07-20 19:39:07 +00:00
|
|
|
import {DropDown} from "./UI/Input/DropDown";
|
|
|
|
import {FixedUiElement} from "./UI/Base/FixedUiElement";
|
2020-07-01 00:12:33 +00:00
|
|
|
|
2020-07-20 19:39:07 +00:00
|
|
|
const dropdown = new RadioButton<string>(
|
|
|
|
[new FixedInputElement("5","5"),
|
|
|
|
new TextField({
|
|
|
|
toString: ((str) => str),
|
|
|
|
fromString: ((str) => str),
|
|
|
|
})]
|
2020-07-20 11:28:45 +00:00
|
|
|
).AttachTo("maindiv");
|
2020-07-20 19:39:07 +00:00
|
|
|
const value = dropdown.GetValue();
|
|
|
|
value.setData("asldkjvmqlksjdf")
|