我的控制器中有一个值,而不是我想用来绑定到动态类的值。
isSelected: (->
this.get('selectedConference') == '1A'
).property('selectedConference')
但不是 1A 我希望它与每个块中循环的值进行比较。
{{each conference in controller.reverseConferences}}
<li>
<a>
{{isSelected}}
我如何将 {{this}} 传递给 isSelected?