mirror of
https://github.com/esiur/iui.git
synced 2025-09-13 15:13:18 +00:00
Refs
This commit is contained in:
@@ -18,7 +18,6 @@ export default class IUIElement extends HTMLElement {
|
||||
}
|
||||
|
||||
this._register("data");
|
||||
this._register("rendered");
|
||||
}
|
||||
|
||||
static get moduleName(){
|
||||
@@ -58,7 +57,7 @@ export default class IUIElement extends HTMLElement {
|
||||
this._data = value;
|
||||
this._emit("data", {data: value});
|
||||
await IUI.render(this, value);
|
||||
this._emit("rendered", {data: value});
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@@ -7,7 +7,7 @@ export default IUI.module(class Include extends IUIElement
|
||||
constructor()
|
||||
{
|
||||
super();
|
||||
this.refs = new RefsCollection();
|
||||
this.refs = new RefsCollection(this);
|
||||
}
|
||||
|
||||
get src(){
|
||||
|
Reference in New Issue
Block a user