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

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

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

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

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

2. laya.ui.Radio_API3.0 [ 94%]

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

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

3. laya.ui.Button_API3.0 [ 92%]

...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

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

...显示列表。 } 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