原谅我的骨干我不是专家,必须执行功能显示绝对只有经过ResetQuestions自定义函数可能后的主干触发事件?
ResetQuestions:function() {
//Great Code Here
}),
我尝试这样做:
initialize: function() {
this.on("Show", this.Show, this);
},
ResetQuestions:function() {
//Great Code Here
this.trigger("Show");
}),
但是,这是不成功的,没有任何人知道我可以做到这一点?
的console.log这个值触发之前和initalize和检查都是相同 – StateLess 2014-09-22 10:09:15
节目是否是一个函数?你想在ResetQuestions函数被调用时触发它?这是你的要求吗? – 2014-09-22 10:09:43
是**显示**是一个功能,我可以把它命名为更好,我想在** ResetQuestions **函数后触发** Show ** @Raj – FrozenMonkeyLizard 2014-09-22 10:40:28