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

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

91. UI-RefreshList [ 72%]

...t; Handler = Laya.Handler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.load...

来源: Laya2.0_示例 发布时间: 20260106

92. 如何能监听到TouchStart和TouchEnd事件 [ 72%]

...性值。*/         static LINK: string;         /** 定义 label 事件对象的 type 属性值。*/         static LABEL: string;         /**浏览器全屏更改时触发*/         static FULL_SCREEN_CHANGE: string;         /**显卡设备丢失时触发*...

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

93. laya.ui.TextArea_API3.0 [ 71%]

...这里可以设置 _tf _tf: Input Inherited from TextInput._tf Overrides Label._tf Defined in laya/ui/TextInput.ts:119 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite...

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

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

...下滚会变 List中选中checkbox,下拉条滑动,返回,checkbox的label会改变。。。。(服务器2变为服务器35)如果再选择别的选项,该checkbox的label又会变回服务器2;引入的js页面如下:(语言javascript,引擎1.7.8beta)   var ServerListView = (fu...

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

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

建议vbox和hbox提供自动对齐功能 比如我有3个Label标签放在一个HBox里,这3个标签长度不一致,并且会变换(在list里的情况下),又希望HBox能自适应对齐,提供类似egret对group的约束功能 2016-12-29 添加评论 免费帖 --> 分享 微博 QZONE ...

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

96. 关于下拉列表的选择触发 [ 70%]

...e = "small" this.now_map.text = "当前地图:" + this.small_map.selectedLabel Laya.map_small_c = e } function onSelect_big(e) { if (e != 0) { if (Laya.keys > 0) { Laya.big_switch = 0 Laya.map_big = e Laya.maptype = "big" this.small_map.selectedIndex = 0 this.now_map.text = "当前地图:" + ...

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

97. laya.ui.ComboBox [ 69%]

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

来源: laya_api 发布时间: 20170929

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

...件的当前者 mc.on(Event.LOADED,mc,onmcloaded); MovieClip(e.target).addLabel("label01",19); MovieClip(e.currenttarget).addLabel("label01",19); 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 shinestar...

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

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

...xtends ui.normalDialogUI { constructor( text: string ) { super(); // 设置label文字 this.context.text = text; this.btn_close.on(Laya.Event.CLICK, this, this.close); this.btn_success.on(Laya.Event.CLICK, this, this.close); } } 2018-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

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

...第二次点击color的时候lable背景颜色变回原来的颜色 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