大约有 80 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0071 秒)
...会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字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
... } 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
...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UICompon...
来源: Laya2.0_api 发布时间: 20190513
...ed Menu Globals "laya/ui/Tab" Tab Class Tab Tab 组件用来定义选项卡按钮组。 * 属性:selectedIndex 的默认值为-1。 example 以下示例代码,创建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Exa...
来源: Laya3.0_api 发布时间: 20231115
...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UICompon...
来源: Laya2.0_api 发布时间: 20190513
...et labelBold(value: boolean): void Defined in laya/ui/UIGroup.ts:395 表示按钮文本标签是否为粗体字。 Returns boolean Defined in laya/ui/UIGroup.ts:399 表示按钮文本标签是否为粗体字。 Parameters value: boolean Returns void labelColors get labelColors(): string set labelCol...
来源: Laya3.0_api 发布时间: 20231115
...对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component...
来源: laya_api 发布时间: 20170929
...t labelBold(value: boolean): void Defined in laya/ui/ComboBox.ts:686 表示按钮文本标签是否为粗体字。 see laya.display.Text#bold Returns boolean Defined in laya/ui/ComboBox.ts:690 表示按钮文本标签是否为粗体字。 see laya.display.Text#bold Parameters value: boolean Returns ...
来源: 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