mapcomplete/test.ts

13 lines
449 B
TypeScript
Raw Normal View History

import {ImageCarousel} from "./UI/Image/ImageCarousel";
import {UIEventSource} from "./Logic/UIEventSource";
import {OsmConnection} from "./Logic/Osm/OsmConnection";
const connection = new OsmConnection(true, new UIEventSource<string>(undefined), "qsdf");
connection.AttemptLogin();
2020-09-02 11:37:34 +02:00
2020-09-09 22:17:46 +02:00
const imageCarousel = new ImageCarousel(new UIEventSource<any>({
"image": "https://i.imgur.com/kX3rl3v.jpg"
}), connection);
2020-09-09 22:17:46 +02:00
2020-09-12 23:15:17 +02:00
imageCarousel.AttachTo("maindiv")