1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00
react-templates/test/data/scope-evaluated-after-repeat.rt
2015-09-03 10:14:51 +03:00

5 lines
253 B
Plaintext

<div>
<div rt-repeat="pirate in [{name: 'Jack Sparrow', profile: {age: 99}}, {name: 'Someone Else', profile: {age: 98}}]" rt-scope="pirate.profile as profile" key="p-{pirateIndex}">
{pirateIndex}-{pirate.name}-{profile.age}
</div>
</div>