mirror of
https://github.com/esiur/iui.git
synced 2025-05-06 06:42:58 +00:00
22 lines
470 B
JavaScript
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;
|
|
}
|
|
|
|
}); |