私が次のようなものを持っている場合:
{
people: [
"Yehuda Katz",
"Alan Johnson",
"Charles Jolley"
]
}
ハンドルバーの各値の位置を取得するにはどうすればよいですか?
{{#each people}}
{{this}}
<!--{{this.position}} -->
{{/each}}
答えは
Yehuda Katz
0
Alan Johnson
1
Charles Jolley
2