• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 341 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0071 秒)

1. 关于TS get/set重写问题 [ 100%]

关于TS get/set重写问题 我想对父类的 get/set方法进行重写,其作用是为了调用该方法前先做些处理 我父类A有个 public set a($value:number):void{ this._a = $value; } 然后继承父类后子类B重写 public set a($value:number):void {     this.aa();    super.a =...

来源: Laya_社区 发布时间: 20180305

2. 如何调用父类getset方法[ 98%]

如何调用父类getset方法? 如何在子类中调用父类getset方法? 2017-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 ymsdandan 赞同来自: 你试下LoginView.__super.call(this)   ,...

来源: Laya_社区 发布时间: 20171108

3. 关于get/set重写问题 [ 96%]

关于get/set重写问题 1.x中使用方法Laya.getset,2.x中应该使用哪个方法呢static getset(isStatic:Boolean, target:any, name:String, getter:Function, setter:Function):void; 2020-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

来源: Laya_社区 发布时间: 20201118

4. laya.ui.LayoutBox_API3.0 [ 95%]

...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...

来源: Laya3.0_api 发布时间: 20231115

5. laya.ui.Panel_API3.0 [ 95%]

...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...

来源: Laya3.0_api 发布时间: 20231115

6. laya.ui.Box_API3.0 [ 95%]

...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...

来源: Laya3.0_api 发布时间: 20231115

7. laya.ui.HBox_API3.0 [ 95%]

...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...

来源: Laya3.0_api 发布时间: 20231115

8. laya.ui.OpenDataContextView_API3.0 [ 95%]

...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...

来源: Laya3.0_api 发布时间: 20231115

9. laya.ui.TipManager_API3.0 [ 95%]

...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...

来源: Laya3.0_api 发布时间: 20231115

10. laya.ui.UIComponent_API3.0 [ 95%]

...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...

来源: Laya3.0_api 发布时间: 20231115