-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
/**
* 代理子Action的事件
*
* @param {mini-event.Event} e 事件对象
*/
function delegateActionEvent(e) {
var event = require('mini-event').fromEvent(e, { preserveData: true, syncState: true });
event.type = 'action@' + e.type;
this.fire(event);
}
上面的这个方法在普获到actionpanel里面的事件的时候会fire出来,但是在view中通的actionpanel的ID去绑定fire的事件却不能正常捕获,发现直接在上面函数中fire(event.type)是可以成功的,但是本身却不能正常捕获到事件。
Metadata
Metadata
Assignees
Labels
No labels