大约有 32 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0032 秒)
disabled=true后,如果增加on事件,再=false,事件没响应 把一个控件: 1.先disabled=true后, 2.然后增加on事件, 3.再disabled=false,事件没响应。 如果 1.增加on事件 2.disabled=true 3.disabled=false,事件有响应 应该是on里面有disabled的控制...
来源: Laya_社区 发布时间: 20200810
按钮属性disabled mouseEnabled bug 一开始在页面类构造函数把按钮gray设置为true,mouseEnabled设置为false ,设置一个定时器把按钮gray设置为false,mouseEnabled设置为true 页面上显灰恢复,断点也走到btn.mouseEnabled = true 但是按钮没有接受点...
来源: Laya_社区 发布时间: 20171019
list下面的box的disable设置无效 2018-01-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 WLN123 赞同来自: this.renderNode.getCell(i).disabled = true; 这句代码不知道哪里出错了 2018-01-15 0 ...
来源: Laya_社区 发布时间: 20180115
button的disable = true设置,帧数瞬间下降问题 自己测试了一下:在Pc上,创建30个Button然后同时将Button的disable = true; 帧数瞬间下降13-17帧。 感觉很恐怖啊,如果我有6个Button,那么就会下降3帧左右。关键这是电脑上测试的情况,手...
来源: Laya_社区 发布时间: 20171102
[LayaAir3]3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为报错 3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为true后,再触发条件设置为false就会报错。 报错信息为: WebGLRenderContext2D.js:137 Uncaught TypeError...
来源: Laya_社区 发布时间: 20250804
...cation/chrome.exe", "runtimeArgs": [ "--allow-file-access-from-files", " --disable-web-security" ], "sourceMaps": true, "webRoot": "${workspaceRoot}", //假如谷歌调试报userDataDir不可用,请把谷歌安装路径取得管理员权限,或者更换${tmpdir}为其他可以读写的文件夹,...
来源: Laya_社区 发布时间: 20200918
...e;//根据名字查找要更改的单元格 hero.disabled = HostData.array[index].hero;//属性更改 var ani :Animation = cell.getChildByName("heroani") as Animation;//加载默认动画 if (ani){ ...
来源: Laya_社区 发布时间: 20180503
...sprite.visible=false的对像也统计进去了,网页端就没有问题 disabled=true后,如果增加on事件,再=false,事件没响应 Ignored attempt to cancel a touchmove event with cancelable=false Ignored attempt to cancel a touchmove event with cancelable=false state.clip.islooping = ...
来源: Laya_社区 发布时间: 20170921
...e("hero")as Image;//根据名字查找要更改的单元格 hero.disabled = HostData.array[index].hero;//属性更改 var ani :Animation = cell.getChildByName("heroani") as Animation;//加载默认动画 if (ani){ ani.play(0,true,"standDown"+HostData.array[index].aninam...
来源: Laya_社区 发布时间: 20180522
... // 监听全局事件 Laya.stage.on("DIALOG_SHOW", this, this.disable); Laya.stage.on("DIALOG_HIDE", this, this.enable); } onDestroy() { // 移除事件监听 Laya.stage.off("DIALOG_SHOW", this, this.disable); Laya.stage.off(...
来源: Laya_社区 发布时间: 20251125