Closed Ginhing closed 10 years ago
If I have a object:
{ name: "Peter", member: { "foo.bar": "a dot here" } }
and the template such as:
<ul> {{for members}} <li>{{: ???}} ...</li> {{/for}} </ul>
What should be write at "???" to render the value "a dot here" ?
Hello @Ginhing, Check the props tag: http://www.jsviews.com/#propstag
props
L
You can use {{:#data["foo.bar"]}}
{{:#data["foo.bar"]}}
http://www.jsviews.com/#assigntag explains what #data is.
#data
If I have a object:
and the template such as:
What should be write at "???" to render the value "a dot here" ?