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
If you run this example, Framework will only generate 1 div at position 50, 50 where I would expect it to create two, one at 0, 0 and the second at 50, 50. Also, the console.log($index) prints two 1's, instead of a 0 and a 1. Strange...
EDIT: Hmm… just saw this seems to happen whenever the list you try to repeat over does not contain objects… So for example if you '$repeat’: [0, 1] it does not seem to create two elements, but if instead you '$repeat’: [{foo: ‘hello’}, {foo: ‘world'}] then it does create two elements…!
The text was updated successfully, but these errors were encountered:
If you run this example, Framework will only generate 1 div at position 50, 50 where I would expect it to create two, one at 0, 0 and the second at 50, 50. Also, the console.log($index) prints two 1's, instead of a 0 and a 1. Strange...
EDIT: Hmm… just saw this seems to happen whenever the list you try to repeat over does not contain objects… So for example if you
'$repeat’: [0, 1]
it does not seem to create two elements, but if instead you'$repeat’: [{foo: ‘hello’}, {foo: ‘world'}]
then it does create two elements…!The text was updated successfully, but these errors were encountered: