我有一个非常简单的带有按钮的模板,我在js文件中使用了该模板,但我无法获得事件,在控制台我能够获得第一个控制台输出“从1”,但无法获得其他两个控制台输出,控制台显示了以下错误:
"TypeError:undefined is not a function↵ at declare.postCreate (http://localhost:8383/mysite/pages/pathsubscriber_WidgetBase, _OnDijitClickMixin, _TemplatedMixin
在jquery中,可以使用$(element).mouseover()触发mouseover事件。
在dojo中,在使用connect函数之后,我不太确定如何触发事件。当我使用connect with click时,我可以使用element.click()来触发单击,但对于鼠标悬停等其他事件,调用element.mouseover()不起作用。那么,如何使用Dojo触发鼠标悬停之类的事件</