mapcomplete/test.ts

18 lines
439 B
TypeScript
Raw Normal View History

2020-07-01 02:12:33 +02:00
import {Geocoding} from "./Logic/Geocoding";
import {SearchAndGo} from "./UI/SearchAndGo";
import {TextField} from "./UI/Base/TextField";
import {VariableUiElement} from "./UI/Base/VariableUIElement";
console.log("HI");
new SearchAndGo().AttachTo("maindiv");
/*const tf = new TextField();
tf.AttachTo("maindiv");
tf.enterPressed.addCallback(() => {alert("Searching")});
new VariableUiElement(tf.value).AttachTo("extradiv");
/*/
//*/