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

大约有 59 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0094 秒)

51. laya.ui.WXOpenDataViewer_API3.0 [ 63%]

...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...

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

52. 动画状态机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

...regClass() export class Main extends Laya.Script { @property( { type: Laya.Label } ) private label: Laya.Label; @property( { type: Laya.Sprite3D } ) private target: Laya.Sprite3D; private animator : Laya.Animator; onStart() { this.label.on( Laya.Event.CLICK, this, this.test ); //获得状态机 this...

来源: Laya3.0_文档 发布时间: 20251010

53. laya.ui.AdvImage_API3.0 [ 63%]

...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...

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

54. laya.ui.UIGroup [ 61%]

...ector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup  labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup  labelColors : StringUIGroup  labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 UIGroup  labelPadding : St...

来源: Laya2.0_api 发布时间: 20190513

55. 2.x引擎项目升级说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...ng", Laya.Loader.IMAGE).then((res)=> { /* res是HTMLImage */ }); [!Type|label:Tips] 不能使用Loader.getRes获得fetch结果,因为fetch方法不缓存 1.6 使用Options。 Laya.loader.load(url, { group:xx, piority:1 }); //priority不限制0-5。为任意整数,数字越大优先级越高...

来源: Laya3.0_文档 发布时间: 20251010

56. laya.ui.CheckBox [ 54%]

...ue。 Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按...

来源: Laya2.0_api 发布时间: 20190513

57. laya.ui.Radio [ 54%]

...ue。 Sprite iconOffset : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按...

来源: Laya2.0_api 发布时间: 20190513

58. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...并用代码控制弹出。方法为: let menu = IEditor.Menu.create([ { label: "test" , click : function() { console.log("clicked"); } } ]); //当需要弹出时 menu.show(); 菜单也支持级联,并且不限层数。例如: IEditor.Menu.create([ { label: "test" , submenu: [ { label : "a" },...

来源: Laya3.0_文档 发布时间: 20251010

59. laya.ui.ComboBox [ 50%]

...oBox  itemSize : int 下拉列表项标签的字体大小。 ComboBox  labelBold : Boolean 表示按钮文本标签是否为粗体字。 ComboBox  labelColors : String 获取或设置对 ComboBox 组件所包含的 Button 组件的文本标签颜色。 格式:upColor,overColor,downColor,disa...

来源: Laya2.0_api 发布时间: 20190513