You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation says under "Differences from rivets.js":
Change how scope of iteration binder works. Instead of copying properties down to children, uses a prototype like approach
Related: 486512417
Change how to customize index name in each binder (using an attribute)
Related: 551552
Issue 551 and pull-request 552 from rivets.js, which are referred to here, talk about this feature, but it's not clear how (and if) it is implemented in tinybind. The rivets.js generic { index } does not work, nor the other syntax { %item% }that was later added in rivets.
Is it possible to access the iteration index inside rv-each in tinybind?
The text was updated successfully, but these errors were encountered:
The index of the iterated array items here can be accessed with { %items% }. In this way, it is possible to distinguish indexes of nested rv-each iterations.
The documentation says under "Differences from rivets.js":
Issue 551 and pull-request 552 from rivets.js, which are referred to here, talk about this feature, but it's not clear how (and if) it is implemented in tinybind. The rivets.js generic
{ index }
does not work, nor the other syntax{ %item% }
that was later added in rivets.Is it possible to access the iteration index inside rv-each in tinybind?
The text was updated successfully, but these errors were encountered: