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

大约有 18 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)

1. laya.utils.Handler [ 100%]

...a.utilsClasspublic class HandlerInheritanceHandler Object Handler 是事件理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建的 Handler 对象不再使用后,可以使用 Handler.recover() 将其回收到对象池,回收后不要再使用...

来源: Laya2.0_api 发布时间: 20190513

2. laya.device.geolocation.Geolocation [ 91%]

...ation  clearWatch(id:int):void[static] 移除watchPosition安装的指定理器。 Geolocation  getCurrentPosition(onSuccess:Handler, onError:Handler = null):void[static] 获取设备当前位置。 Geolocation  watchPosition(onSuccess:Handler, onError:Handler):int[static] 监视设备当...

来源: Laya2.0_api 发布时间: 20190513

3. laya.ui.List [ 76%]

...则不会更改)。 Sprite  mouseHandler : Handler单元格鼠标事件理器(默认返回参数e:Event,index:int)。List mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开...

来源: Laya2.0_api 发布时间: 20190513

4. laya.ui.Tree [ 73%]

...不会更改)。 Sprite  mouseHandler : Handler 单元格鼠标事件理器。 默认返回参数(e:Event,index:int)。 Tree mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从sta...

来源: Laya2.0_api 发布时间: 20190513

5. laya.ui.ViewStack [ 68%]

...选择的项对象。 ViewStack  setIndexHandler : Handler 索引设置理器。 默认回调参数:index:int ViewStack skewX : Number水平倾斜角度,默认值为0。以角度为单位。Sprite skewY : Number垂直倾斜角度,默认值为0。以角度为单位。Sprite stage : Stag...

来源: Laya2.0_api 发布时间: 20190513

6. laya.ui.ColorPicker [ 64%]

...omponent  changeHandler : Handler 当颜色发生改变时执行的函数理器。 默认返回参数color:颜色值字符串。 ColorPicker customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Spri...

来源: Laya2.0_api 发布时间: 20190513

7. laya.ui.Button [ 63%]

...为单位)。 UIComponent  clickHandler : Handler 对象的点击事件理器函数(无默认参数)。 Button customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSource : *[overr...

来源: Laya2.0_api 发布时间: 20190513

8. laya.ui.ProgressBar [ 62%]

...er : Handler 当 ProgressBar 实例的 value 属性发生变化时的函数理器。 默认返回参数value 属性(进度值)。 ProgressBar customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Spr...

来源: Laya2.0_api 发布时间: 20190513

9. laya.ui.Slider [ 61%]

...像素为单位)。 UIComponent  changeHandler : Handler 数据变化理器。 默认回调参数为滑块位置属性 value属性值:Number 。 Slider customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数...

来源: Laya2.0_api 发布时间: 20190513

10. laya.ui.UIGroup [ 61%]

... UIGroup  selectHandler : Handler 改变 Group 的选择项时执行理器,(默认返回参数: 项索引(index:int))。 UIGroup  selection : ISelect 获取或设置当前选择的项对象。 UIGroup skewX : Number水平倾斜角度,默认值为0。以角度为单位。Sprite ...

来源: Laya2.0_api 发布时间: 20190513