Tuesday, 6 August 2013

Access to property in object in parent level

Access to property in object in parent level

I have 2 objects coming to template:
foo: {
some: {
use: "item1"
},
thing: {
use: "item3"
}
},
bar {
item1: {...},
item2: {...},
item3: {...}
}
Using {{#each}} helper I switching every foo's property. Inside of each we
have use property contains text value of property in bar object that I
want to use.
How can I get access to them?

Doesn't work.

No comments:

Post a Comment