大约有 3 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0035 秒)
...t;string, string>> { return [{ name: "Item0", value: "0" }, { name: "Item1", value: "1" }]; } //将enumSource设置为一个字符串,表示使用该名字的属性作为下拉数据源 @property({ type: String, enumSource: "itemsProvider" }) enumItems: string; 三、@runInEditor 除了在ID...
来源: Laya3.0_文档 发布时间: 20240809
..."); var comboBox:ComboBox = new ComboBox("resource/ui/button.png", "item0,item1,item2,item3,item4,item5");//创建一个 ComboBox 类的实例对象 comboBox ,传入它的皮肤和标签集。 comboBox.x = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位置...
来源: Laya3.0_api 发布时间: 20231115
...t;string, string>> { return [{ name: "Item0", value: "0" }, { name: "Item1", value: "1" }]; } //将enumSource设置为一个字符串,表示使用该名字的属性作为下拉数据源 @property({ type: String, enumSource: "itemsProvider" }) enumItems: string; 3.3 IDE中执行生命周期...
来源: Laya3.0_文档 发布时间: 20240528