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

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

1. laya.ui.Image_API3.0 [ 100%]

...g: string Inherited from Node.tag Defined in laya/display/Node.ts:62 节点标签 Static drawtocanvCtx drawtocanvCtx: Context Inherited from Text.drawtocanvCtx Defined in laya/display/Sprite.ts:1319 Accessors _isHeightSet get _isHeightSet(): boolean Inherited from Text._isHeightSet Defined in laya/d...

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

2. laya.ui.CheckBox_API3.0 [ 90%]

...内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 example 以下示例代码,创建了一个 CheckBox 实例。 package { import laya.ui.CheckBox; import ...

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

3. laya.ui.Tab_API3.0 [ 90%]

...//设置 tab 的皮肤。 tab.labels = "item0,item1,item2";//设置 tab 的标签集。 tab.x = 100;//设置 tab 对象的属性 x 的值,用于控制 tab 对象的显示位置。 tab.y = 100;//设置 tab 对象的属性 y 的值,用于控制 tab 对象的显示位置。 tab.selectHandler = new ...

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

4. laya.ui.ComboBox_API3.0 [ 89%]

...;//创建一个 ComboBox 类的实例对象 comboBox ,传入它的皮肤和标签集。 comboBox.x = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位置。 comboBox.y = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位...

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

5. laya.ui.RadioGroup_API3.0 [ 88%]

...信息。 radioGroup.labels = "item0,item1,item2";//设置 radioGroup 的标签集。 radioGroup.skin = "resource/ui/radio.png";//设置 radioGroup 的皮肤。 radioGroup.space = 10;//设置 radioGroup 的项间隔距离。 radioGroup.selectHandler = new Handler(this, onSelect);//设置 radioGroup ...

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

6. laya.ui.AdvImage_API3.0 [ 88%]

...erited from UIComponent.tag Defined in laya/ui/UIComponent.ts:282 对象的标签。 冗余字段,可以用来储存数据。 Returns any Inherited from UIComponent.tag Defined in laya/ui/UIComponent.ts:286 对象的标签。 冗余字段,可以用来储存数据。 Parameters value: any Returns...

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

7. laya.ui.Button_API3.0 [ 87%]

...ton 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以下示例代码,创建了一个 Button 实例。 package { import laya.ui.Button; import laya.utils.Hand...

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

8. laya.ui.UIGroup_API3.0 [ 83%]

...新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns UIGroup Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined ...

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

9. laya.ui.Radio_API3.0 [ 82%]

...fault value skin: string = null 皮肤。 Default value label: string = "" 标签。 Returns Radio Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Inherited from Button._graph...

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

10. laya.html.dom.HTMLDivElement_API3.0 [ 82%]

...ement Class HTMLDivElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标签,比如:abc span:行内元素标签,比如:abc p:行元素标签,p标签会自动换行,div不会,比如:abc img:图片标签...

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