mirror of
https://github.com/esiur/iui.git
synced 2026-04-04 15:08:21 +00:00
Repeat+Event
This commit is contained in:
@@ -144,12 +144,17 @@ export default IUI.module(class Repeat extends IUIElement
|
||||
|
||||
this.list.push(el);
|
||||
|
||||
await IUI.create(el);
|
||||
try {
|
||||
await IUI.create(el);
|
||||
|
||||
IUI.bind(el, false, "repeat",
|
||||
IUI.extend(this.__i_bindings?.scope,
|
||||
{index: i, repeat: this}, true));
|
||||
|
||||
} catch (ex) {
|
||||
console.log(ex);
|
||||
}
|
||||
|
||||
IUI.bind(el, false, "repeat",
|
||||
IUI.extend(this.__i_bindings?.scope,
|
||||
{index: i, repeat: this}, true));
|
||||
|
||||
this._container.insertBefore(el, this._beforeNode);
|
||||
|
||||
// update referencing
|
||||
|
||||
Reference in New Issue
Block a user