大约有 184 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0050 秒)
Laya_社区(131) Laya3.0_api(16) laya_api(12) Laya2.0_api(12) Laya2.0_文档(6) Laya3.0_文档(5) Laya2.0_示例(1) Laya_示例(1)
Cannot set property text of #<Button> which has only a getter Cannot set property text of #<Button> which has only a getter 2020-08-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠...
来源: Laya_社区 发布时间: 20200811
button的点击和悬浮特效怎么取消 button 的skins设置成图片,显示的时候不完全,悬浮时会有上浮的效果,怎么取消特效并显示完整图片 附件 : --> 2017-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20171202
...法?IOS和Android LayaSample.ts文件如下: // 程序入口 import UIButton = laya.ui.Button; class GameMain{ constructor() { Laya.init(600,400); let body = laya.utils.Browser.document.body; let input = laya.utils.Browser.createElement(...
来源: Laya_社区 发布时间: 20161114
button组件如何设置disable不可点击状态? 比如设置disable是否能更换背景图 2017-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 如果要改变button的背景...
来源: Laya_社区 发布时间: 20170926
...接使用this.即可使用。例如下面的代码: onAwake(): void { // Button添加鼠标事件,让Image不显示 this.Button.on( Laya.Event.MOUSE_DOWN, this, ()=>{ this.Image.visible = false; }); } 运行此场景来看看效果,如动图2-7所示。 (动图2-7) UI组件脚本就已...
来源: Laya3.0_文档 发布时间: 20250310
如何阻止 点击 继续传递 list的item 上有一个button,button首先处理click事件,然后 list处理该事件 如何阻止事件继续传递,而只让button处理,尝试过如下方法,但无效 附件 : --> 2017-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170224
Button点击函数逻辑bug onMouse(e) { if (this.toggle === false && this._selected) return; if (e.type === Laya.Event.CLICK) { this.toggle && (this.selected = !this._selected); this._clickHandler && this._clickHandler.run(); return; } !this._selected && (this.state...
来源: Laya_社区 发布时间: 20191112
Button销毁时,未对_clickHandler进行回收 源代码: destroy(destroyChild = true) { super.destroy(destroyChild); this._bitmap && this._bitmap.destroy(); this._text && this._text.destroy(destroyChild); this._bitmap = null; this._text = null; this._clickHandler = null; this....
来源: Laya_社区 发布时间: 20200514
...前鼠标位置获取一条射线碰撞集合,然后我又创建了一个Button,点击Button时发现射线也响应了,如何能让点击UI时不进行射线碰撞检测呢? 2019-08-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20190808
...域底边之间的垂直距离(以像素为单位)。 UIComponent button : Button[read-only] 获取对 ComboBox 组件所包含的 Button 组件的引用。 ComboBox cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,...
来源: Laya2.0_api 发布时间: 20190513