2020-09-11 19:14:32 +02:00
|
|
|
import {ImageCarousel} from "./UI/Image/ImageCarousel";
|
|
|
|
import {UIEventSource} from "./Logic/UIEventSource";
|
|
|
|
import {OsmConnection} from "./Logic/Osm/OsmConnection";
|
2020-08-31 02:59:47 +02:00
|
|
|
|
2020-09-11 19:14:32 +02:00
|
|
|
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
|
|
|
|
2020-09-11 19:14:32 +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")
|