mapcomplete/test.ts

24 lines
527 B
TypeScript
Raw Normal View History

2020-10-03 23:04:46 +00:00
//*
2020-10-08 17:03:00 +00:00
import OpeningHoursVisualization from "./UI/OhVisualization";
import {UIEventSource} from "./Logic/UIEventSource";
new OpeningHoursVisualization( new UIEventSource<any>({
opening_hours: "2000 Dec 21 10:00-12:00;",
2020-10-08 17:03:00 +00:00
_country: "be",
_lat: "51.2",
_lon: "3.2"
}
), 'opening_hours').AttachTo("maindiv")
2020-10-03 23:04:46 +00:00
2020-10-05 23:37:02 +00:00
/*/
import {Utils} from "./Utils";
import {FixedUiElement} from "./UI/Base/FixedUiElement";
Utils.generateStats((stats) => {
2020-10-05 23:37:02 +00:00
new FixedUiElement(stats).AttachTo('maindiv')
})
//*/