2
0
mirror of https://github.com/esiur/iui.git synced 2025-05-06 06:42:58 +00:00
iui/src/Core/App.js
2021-10-29 17:09:15 +03:00

22 lines
470 B
JavaScript

import IUIElement from "../Core/IUIElement.js";
import { IUI } from "../Core/IUI.js";
export default IUI.module(class App extends IUIElement {
constructor() {
super();
}
create() {
this._register("load");
window.app = this;
}
created() {
IUI.bind(this, this, "/");
//IUIElement._make_bindings(this);
this.render();
this._emit("load", { app: this });
this.loaded = true;
}
});