import { Stear, SWindow, _, s } from "../stear/main.js"; import { fadein } from "../stear/utils.js"; const pool = Stear.addLanguagePool("home"); const connected = pool.add("conncted", "Connected to: {}"); const connect = pool.add("connect", "Connect"); const connectionlost = pool.add("connectionlost", "Connection lost from: {}"); export default new SWindow({ call: async (stear, { find, resolve, close, render, call, event, include }, args) => { event.onloaded = () => { fadein(find.main, 200, true); } let mode = 0; let window = 0; let wins = [ include ] return
{() => { console.log("rerender"); return ["#0f0", "#00f", "#ff0"].map((d, i) => { return
{ mode = i; find.menu.rerender(); } }}>
; }); }}
rigth
; }, backgroundColor: "#dde" });