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

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

91. List选中项下滚会变 [ 71%]

...index",index); // } _proto_.onMouse = function(e,index){ if(e.type == Laya.Event.CLICK){ //console.log(e.type,index); if(this.selectedIndex !== index){ if(this.selectedIndex!==-1){ //之前选中的列表项的选中状态设置为false this.sList.setItem(this.selectedIndex,{ select : {label : "服...

来源: Laya_社区 发布时间: 20170805

92. 建议vbox和hbox提供自动对齐功能 [ 71%]

... 赞同来自: Label每次改变后,请抛出一个自定义事件,lab.event("resize") 2016-12-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 geniusgeng 相关问题 2.0一不小心删了bin目录下的某个场景json文件。。...

来源: Laya_社区 发布时间: 20161229

93. 关于下拉列表的选择触发 [ 71%]

...ia1.loading_desc.text = "可在小秘境挂机获取" dia1.confirm.on(Laya.Event.MOUSE_UP, this, dai1, [dia1]) dia1.popup() // this.big_map.selectedIndex = 0 } } } 两个列表,手动选择会触发,没有问题,但如果在下面加一个修改下拉数据的 this.small_map.labels = “1,2...

来源: Laya_社区 发布时间: 20180719

94. 接受到事件后怎么能操作发出事件的当前者 [ 69%]

接受到事件后怎么能操作发出事件的当前者 mc.on(Event.LOADED,mc,onmcloaded); MovieClip(e.target).addLabel("label01",19); MovieClip(e.currenttarget).addLabel("label01",19); 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

来源: Laya_社区 发布时间: 20170809

95. laya.ui.ComboBox [ 69%]

...ll Classes | Index | Frames No Frames ComboBoxProperties | Methods | Events Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox Component Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide I...

来源: laya_api 发布时间: 20170929

96. 怎么做到第二次点击color的时候lable背景颜色变回原来的颜色 [ 69%]

...色 this.label.bgColor = "#ff0400"; start(): void { this.color_btn.on(Laya.Event.CLICK, this, this.onTipClick); } if(tipBtn == this.color_btn){ this.label.bgColor = "#ffffff";   2019-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

来源: Laya_社区 发布时间: 20190722

97. dialog的popup方法不会关闭其他弹窗 [ 68%]

...alDialog: NormalDialog; constructor() { super();  this.btn_signin.on(Laya.Event.CLICK, null, () => { this.showDialog("登录成功") }); this.btn_register.on(Laya.Event.CLICK, null, () => { this.showDialog("注册功能暂未开放") });  }  showDialog(context: string) { // if (this.normalD...

来源: Laya_社区 发布时间: 20181216

98. laya.ui.Radio_API3.0 [ 68%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

99. laya.ui.UIGroup [ 67%]

...All Classes | Index | Frames No Frames UIGroupProperties | Methods | Events Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box Component Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默...

来源: laya_api 发布时间: 20170929

100. laya.ui.ComboBox [ 67%]

...ll Classes | Index | Frames No Frames ComboBoxProperties | Methods | Events Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox UIComponent Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide...

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