大约有 697 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(344) Laya3.0_api(152) Laya2.0_api(96) laya_api(62) Laya2.0_文档(29) Laya3.0_文档(13) Laya2.0_示例(1)
...听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? 求指点3d射线碰撞和UI点击穿透的问题 救命!canvas定位后 点...
来源: Laya_社区 发布时间: 20170826
...TS里怎么使用? 比如我每个页面上 都有相同的按钮需要监听,都需要使用相同的函数,那么目前我只能在每个页面上都写相同的代码。这样就失去面向对象的意义,有什么思路可以解决代码重用? 2017-09-24 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20170924
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231102
...听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 关于使用matterjs物理引擎鼠标问题 Animation如何加点击事件 关于遍历产生的sprite的点击事件...
来源: Laya_社区 发布时间: 20180411
...老版本的淘宝适配库需要配合注释掉 laya.tbmini.js 里 以下监听: Laya.stage.on("resize", null, MiniInput._onStageResize); 2020-10-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 1603252586用户 相关问题 请问...
来源: Laya_社区 发布时间: 20201021
...offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Even...
来源: Laya2.0_api 发布时间: 20190513
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
...。 (图1) ```typescript { //在舞台上添加鼠标事件监听 Laya.stage.on(Laya.Event.MOUSE_DOWN,this, this.onMouseDown); } //点击触发事件 onMouseDown() { //记录点击到舞台上的点 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.inst...
来源: Laya2.0_文档 发布时间: 20210715
...。 (图1) ```typescript { //在舞台上添加鼠标事件监听 Laya.stage.on(Laya.Event.MOUSE_DOWN,this, this.onMouseDown); } //点击触发事件 onMouseDown() { //记录点击到舞台上的点 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.inst...
来源: Laya2.0_文档 发布时间: 20210715
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115