2
0
mirror of https://github.com/esiur/iui.git synced 2026-04-04 15:08:21 +00:00

Repeat+Event

This commit is contained in:
2023-06-07 14:21:17 +03:00
parent 90e9fb5c71
commit 95884c4f2d
2 changed files with 24 additions and 7 deletions

View File

@@ -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