2022-06-09 16:26:27 +02:00
|
|
|
import { Stear, SWindow } from "../stear/main.js";
|
2022-06-09 15:29:53 +02:00
|
|
|
|
|
|
|
import * as connect from "./connect.js";
|
|
|
|
import * as start from "./start.js";
|
|
|
|
|
|
|
|
|
|
|
|
var stear = new Stear(document.querySelector("#stear"));
|
|
|
|
|
|
|
|
stear.style({
|
|
|
|
backgroundColor: "#dde",
|
|
|
|
fontFamily: "Helvetica Neue",
|
|
|
|
fontWeight: "lighter",
|
|
|
|
fontSize: "0.9em",
|
|
|
|
color: "#2a2a2a",
|
|
|
|
});
|
|
|
|
|
|
|
|
stear.addElement("connect", new SWindow(connect));
|
|
|
|
stear.addElement("start", new SWindow(start));
|
|
|
|
|
|
|
|
stear.call(stear.g("start"), {});
|
|
|
|
|
|
|
|
setTimeout(()=>{
|
|
|
|
document.dispatchEvent(new Event("deviceready"));
|
|
|
|
},10);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.s = stear;
|