forked from MapComplete/MapComplete
Add search, a few flow updates
This commit is contained in:
parent
7b9ab77bda
commit
c87c014045
14 changed files with 345 additions and 17 deletions
17
test.ts
17
test.ts
|
@ -0,0 +1,17 @@
|
|||
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");
|
||||
/*/
|
||||
|
||||
|
||||
|
||||
//*/
|
Loading…
Add table
Add a link
Reference in a new issue