[LayaAirIDE 2.0]Laya中textinput的监听事件的执行顺序是FOCUS=>MOUSE_DOWN=>CLICK,有没有比FOCUS还要先触发的监听
this.textinput_message.on(Laya.Event.CLICK,this,()=>{
console.log("CLICK>>>");
})
this.textinput_message.on(Laya.Event.MOUSE_DOWN,this,()=>{
console.log("MOUSE_DOWN>>>");
})
this.textinput_message.on(Laya.Event.FOCUS, this, () => {
console.log("FOCUS>>>");
});
console.log("CLICK>>>");
})
this.textinput_message.on(Laya.Event.MOUSE_DOWN,this,()=>{
console.log("MOUSE_DOWN>>>");
})
this.textinput_message.on(Laya.Event.FOCUS, this, () => {
console.log("FOCUS>>>");
});
没有找到相关结果
已邀请:
要回复问题请先登录
0 个回复