0
假设代码如下或类似的代码,我如何传递{{每个}上下文中的父上下文,或者我如何从单击事件中访问它。谢谢。如何访问模板父上下文
<div>
<ul>
{{#each emoticons[emoticons.state.selected].iconList}}
<li on-mouseover="showEmoticonBig" on-click="@this.fire('selectEmoticon',event,this)" class="emoticons-icon">{{{parseToIcons(.code)}}}</li>
{{/each}}
</ul>
</div
ractObj.off("selectEmoticon").on("selectEmoticon", function (event,context) {
});