2
0
mirror of https://github.com/esiur/iui.git synced 2026-04-04 23:18:21 +00:00
This commit is contained in:
2021-10-30 12:31:25 +03:00
parent b3479dbdbd
commit 1bac10e60d
10 changed files with 92 additions and 33 deletions

View File

@@ -8,27 +8,27 @@ export default IUI.module(class IUIDialog extends IUIWindow
constructor()
{
super({
closeable: true,
resizeable: true,
draggable: false,
_dragging: false,
_expanding: false,
x: 0,
y: 0,
visible: false,
modal: false
}
);
super({
closeable: true,
resizeable: true,
draggable: false,
_dragging: false,
_expanding: false,
x: 0,
y: 0,
visible: false,
modal: false
}
);
var self = this;
var self = this;
this._register("visible");
this._register("resize");
this.on("close", function(){
self.hide();
});
this._register("visible");
this._register("resize");
this.on("close", function(){
self.hide();
});
}
create()