大约有 57 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0029 秒)
...ouseHandler); rect.on(Event.MOUSE_OVER, this, mouseHandler); rect.on(Event.MOUSE_OUT, this, mouseHandler); rect.on(Event.DOUBLE_CLICK, this, mouseHandler); rect.on(Event.MOUSE_WHEEL, this, mouseHandler); } /** * 鼠标响应事件处理 */ function mouseHandler(e) { switch (e.type) { case Event.MOUS...
来源: Laya_示例 发布时间: 20250222
...andler); rect.on(Event.MOUSE_OVER, this, this.mouseHandler); rect.on(Event.MOUSE_OUT, this, this.mouseHandler); rect.on(Event.DOUBLE_CLICK, this, this.mouseHandler); rect.on(Event.MOUSE_WHEEL, this, this.mouseHandler); } /** * 鼠标响应事件处理 */ mouseHandler(e) { const Event = Laya.Event; s...
来源: Laya2.0_示例 发布时间: 20250222
...两个sprite,都绑定以下事件 MOUSE_DOWN,MOUSE_MOVE,MOUSE_UP,MOUSE_OUT当将先创建的sprite拖拽到后创建的sprite上的时候(鼠标进入第二个sprite的范围的时候)会直接执行MOUSE_OUT事件,但是后创建的sprite拖拽正常,不会出现这个问题? 202...
来源: Laya_社区 发布时间: 20200714
...MOUSE_MOVE); Laya.stage.off(Laya.Event.MOUSE_UP) Laya.stage.off(Laya.Event.MOUSE_OUT); // 鼠标按下事件 Laya.stage.on(Laya.Event.MOUSE_DOWN, this.snakeSelf, this.snakeSelf.onMouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this.snakeSelf, this.snakeSelf.onMouseUp); Laya.stage.on(Laya.Event.MOUS...
来源: Laya_社区 发布时间: 20180514
...ouseHandler); rect.on(Event.MOUSE_OVER, this, mouseHandler); rect.on(Event.MOUSE_OUT, this, mouseHandler); rect.on(Event.DOUBLE_CLICK, this, mouseHandler); rect.on(Event.MOUSE_WHEEL, this, mouseHandler); } /** * 鼠标响应事件处理 */ function mouseHandler(e) { switch (e.type) { case Event.MOUS...
来源: Laya_社区 发布时间: 20180205
...出事件 LayaNative2.6版本中,在ios设备上不会触发Laya.Event.MOUSE_OUT事件 2020-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20200521
... _this._stage.event(/*laya.events.Event.MOUSE_OUT*/"mouseout",_this._event.setTo(/*laya.events.Event.MOUSE_OUT*/"mouseout",_this._stage,_this._stage)); break ; case "mouseover": ...
来源: Laya_社区 发布时间: 20170614
...4 this.sp.on(Laya.Event.MOUSE_DOWN, this, this.text) this.sp.on(Laya.Event.MOUSE_OUT, this,this.text) Enheng • 2022-05-05 17:26 按道理来说,我未移出只做点击动作,应该只执行一遍text(),但是它执行了两遍 Laya_Yan • 2022-05-05 17:44 @Enheng:您检查一下是不是...
来源: Laya_社区 发布时间: 20220424
...his, this.mouseUpCallback); this.bubbleView.on(Laya.Event.MOUSE_OUT, this, this.mouseOutCallback); // this.bubbleView.on(Laya.Event.MOUSE_DOWN, this, this.mouseDownCallback); } 然后,鼠标down 0.5秒,松开,就会出现如下的顺序 mouseUpC...
来源: Laya_社区 发布时间: 20191122
...监听mouse_down事件,事件执行缩小的缓动动画 放开:监听mouse_out和mouse_up事件,事件执行还原缓动动画 如果还有点击事件,继续监听click事件即可 2017-04-01 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 缓动完成后会有一个完成缓动的...
来源: Laya_社区 发布时间: 20170318