大约有 170 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya_社区(87) Laya3.0_api(38) Laya2.0_api(15) laya_api(15) Laya3.0_文档(11) Laya2.0_文档(2) Laya2.0_示例(1) Laya_示例(1)
...序在list中添加多元素的item List滑动条会引起单元格上的按钮点击后多次触发点击事件 怎么获得laya.input输入框里面的值 鼠标滚轮滚动事件 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 Panel加...
来源: Laya_社区 发布时间: 20180312
...oolean Inherited from Button.toggle Defined in laya/ui/Button.ts:163 指定按钮按下时是否是切换按钮的显示状态。 example 以下示例代码,创建了一个 Button 实例,并设置为切换按钮。 example package { import laya.ui.Button; import laya.utils.Handler; public class ...
来源: Laya3.0_api 发布时间: 20231115
...oolean Inherited from Button.toggle Defined in laya/ui/Button.ts:163 指定按钮按下时是否是切换按钮的显示状态。 example 以下示例代码,创建了一个 Button 实例,并设置为切换按钮。 example package { import laya.ui.Button; import laya.utils.Handler; public class ...
来源: Laya3.0_api 发布时间: 20231115
...用动态合批的特性,我们来看一个例子: 场景中有四个按钮,每个按钮都是一个预制体实例,每个预制体里包含一个图片和一个文字对象,如图中所示: LayaAir是树状的显示对象结构,那么他们按深度展开后应该是: 因为文字...
来源: Laya3.0_文档 发布时间: 20251010
...会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字name:String。 closeType closeType: string Defined in laya/ui/Dialog.ts:196 关闭类型,点击name为"close","cancel","sure","no","yes","no"的按钮时,会自动记录点击按钮的名称 group grou...
来源: Laya3.0_api 发布时间: 20231115
...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Componen...
来源: laya_api 发布时间: 20170929
...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Componen...
来源: laya_api 发布时间: 20170929
...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UICompon...
来源: Laya2.0_api 发布时间: 20190513
...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UICompon...
来源: Laya2.0_api 发布时间: 20190513
... } private function onSelect(index:int):void { trace("当前选择的单选按钮索引: index= ", index); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/radio.png"], laya.utils.H...
来源: Laya3.0_api 发布时间: 20231115