mapcomplete/test.ts

9 lines
256 B
TypeScript
Raw Normal View History

2020-07-22 23:47:04 +02:00
import {QueryParameters} from "./Logic/QueryParameters";
2020-07-21 00:07:04 +02:00
2020-07-22 23:47:04 +02:00
console.log("Hi");
2020-07-22 23:47:04 +02:00
const layout = QueryParameters.GetQueryParameter("layout").addCallback(console.log)
2020-07-21 23:31:41 +02:00
2020-07-22 23:47:04 +02:00
console.log("Layout is", layout.data)
2020-07-21 23:31:41 +02:00
2020-07-22 23:47:04 +02:00
window.setTimeout(() => {layout.setData("XXX"), 2000})