0
コードが似ていると思われる場合は、{{each}コンテキストで親コンテキストを渡すにはどうすればよいですか、またはオンクリックイベントからどのようにアクセスすればよいですか。ありがとうございました。テンプレートの親コンテキストにアクセスする方法
<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) {
});