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

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

1. let btn:Button = cell.getChildByName("button的name"); [ 100%]

let btn:Button = cell.getChildByName("button的name"); import Button = laya.ui.Button; let itemBtn:Button = cell.getChildByName("mItemBtn");  这样会报一个错:Type "Node" is not assignable to type "Button". Property "toggle" is missing in type "Node"; 对着官网list例子做的,不知...

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

2. ToolTip鼠标悬停的使用 [ 99%]

...供了三种鼠标提示package { import laya.net.Loader; import laya.ui.Button; import laya.ui.TipManager; import laya.utils.Browser; import laya.utils.Handler; import ui.TestTipsUI; public class ToolTipDemo { private var _testTip:TestTipsUI;//ui弹框(IDE发布),用于鼠标悬浮提示框 p...

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

3. Panel組件底下放置Button時,無法顯示Button.skin [ 98%]

Panel組件底下放置Button時,無法顯示Button.skin 小弟不太清楚這樣Button無法顯示是否為正常現象? 2018-10-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Supermang42 赞同来自: ...

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

4. createElement('button') 问题 [ 98%]

createElement('button') 问题 var button = Laya.Browser.window.document.createElement('button'); button.type='button'; button.value ='逐加'; button.src = "xxxxx"; button.style.width = '40px'; button.style.height = '40px'; button.style.background = "../../../bin/res/atlas/assets.png"; // mapDivx....

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

5. 关于button的click监听 [ 98%]

关于button的click监听 let btn:Laya.Button=new Laya.Button(); btn.label="AAAAAA"; btn.pos(200,200); Laya.stage.addChild(btn); btn.on(Laya.Event.CLICK,this,()=>{console.log("click button");});   请问 这样监听不到button的点击事件吗?如果我创建一个ui.view  a  a.on 也...

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

6. 多个button如何区分 [ 97%]

多个button如何区分 通过 for 循环 加入多个button 添加事件 this.emojiBut1.on(Laya.Event.CLICK,this,this.onEmojiBut1Click); 多个button 如何区分 点击的哪一个button  可以设置tag吗 或者通过监听事件透传?   附件 : --> 2017-04-25 添加评论 免费帖 --> ...

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

7. ui编辑器编辑了一个面板,面板里有个button, 编辑好以后,正常加载ui 面板,button的图片资源没找到,导致button无法正常显示 [ 97%]

ui编辑器编辑了一个面板,面板里有个button, 编辑好以后,正常加载ui 面板,button的图片资源没找到,导致button无法正常显示 2017-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 ...

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

8. button 按下放缩特效 [ 97%]

LayaAir引擎 button 按下放缩特效 button 按下放缩特效什么实现? 2017-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Monica - 知识达人 赞同来自: 不是很明白你说的是什么意...

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

9. Cannot set property text of #<Button> which has only a getter [ 96%]

Cannot set property text of #&lt;Button&gt; which has only a getter Cannot set property text of #&lt;Button&gt; which has only a getter 2020-08-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠...

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

10. Radio继承自Button, 为什么不支持九宫格? [ 96%]

Radio继承自Button, 为什么不支持九宫格? Button可以支持九宫格拉伸,作为Button的子类,Radio的九宫格拉伸反而有问题,为什么? 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...

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