大约有 786 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya_社区(386) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(53) Laya_示例(32) Laya2.0_示例(27)
...声明场景中的Button等控件? export module ui { export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button...
来源: Laya_社区 发布时间: 20200228
...分享 微博 QZONE 微信 Laya_Aaron 赞同来自: /*layaMaxUI.ts *This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; export module ui { export class BGPageUI extends View { const...
来源: Laya_社区 发布时间: 20181014
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Clip) Clip 组件的资源示例:  (图1) 设置 clipX 属性的值为10后的显示效果:  (图2) 设置 index 属性...
来源: Laya2.0_文档 发布时间: 20210714
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tree)。 ### 1.1 Tree 组件主要由两个部分组成: - 项单元格(可以是 Box 、页面 View、自定义页面); - 纵向滚动条 VScrollBar; ### 1.2 Tree 组件的单元格通常由四部分...
来源: Laya2.0_文档 发布时间: 20210715
...: 1、定义一个Item,界面分两层(可用两个Sprite进行划分) class Item extends ui.itemUI { private state = 0; constructor() { super(); //点击最先出来的按钮,会显示下一层界面,同时隐藏自己 this.btnFirst.on(Laya.Event.CLICK, this, this.change, [0]); //点击上面...
来源: Laya_社区 发布时间: 20180810
API DocumentationAll Packages | All Classes | Index | Frames No Frames IRenderProperties Packagelaya.uiInterfacepublic interface IRenderImplementors List, Tree IRender 接口,实现设置项的渲染类型。 Public Properties PropertyDefined By itemRender : *[write-only] 渲染项。 ...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames IComponentProperties Packagelaya.uiInterfacepublic interface IComponentImplementors Component组件接口,实现了编辑器组件类型。Public Properties PropertyDefined By comXml : Object XML 数据。 IComponen...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames ISelectProperties Packagelaya.uiInterfacepublic interface ISelectImplementors Button ISelect 接口,实现对象的 selected 属性和 clickHandler 选择回调函数处理器。 Public Properties PropertyDefined By ...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames IItemMethods Packagelaya.uiInterfacepublic interface IItemImplementors List, UIGroup, ViewStack Item接口。 Public Methods MethodDefined By initItems():void 初始化列表项。 IItemMethod DetailinitItems()method...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames IBox Packagelaya.uiInterfacepublic interface IBox extends IComponentImplementors Box容器接口,实现了编辑器容器类型。Public Properties Hide Inherited Public Properties Show Inherited Public Properties Prop...
来源: laya_api 发布时间: 20170929