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

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

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

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

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

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

...cted(value: boolean): void Defined in laya/ui/Button.ts:444 表示按钮的选中状态。 如果值为true,表示该对象处于选中状态。否则该对象处于未选中状态。 implements Returns boolean Defined in laya/ui/Button.ts:448 表示按钮的选中状态。 如果值为true,表...

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

3. laya.ui.Radio_API3.0 [ 89%]

...选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当前所选的 Radio 控件。 see laya.ui.RadioGroup Hierarchy Button Radio Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBas...

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

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

...显示列表。 } private function onSelect(index:int):void { trace("当前选中的项对象索引: ",index); } } } example Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png",laya.utils.Handle...

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

5. laya.ui.List_API3.0 [ 34%]

...ny set selectedItem(value: any): void Defined in laya/ui/List.ts:856 当前选中的单元格数据源。 Returns any Defined in laya/ui/List.ts:861 当前选中的单元格数据源。 Parameters value: any Returns void selection get selection(): UIComponent set selection(value: UIComponent): void ...

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

6. laya.ui.Tree_API3.0 [ 34%]

...时,将被识别为树结构的项的背景。2帧:悬停时背景、选中时背景。 selectBox.height = 24; selectBox.x = 13; selectBox.y = 0; selectBox.left = 12; this.addChild(selectBox);//需要使用this.访问父类的属性或方法。 var folder = new laya.ui.Clip("resource/ui/clip_tre...

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