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

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

201. 初学者问题 Dialog的popup()方法没有起到效果 [ 59%]

...问题 Dialog的popup()方法没有起到效果 this.btn_reg.on(Laya.Event.CLICK,null,()=> { var dlg : MyDialog = new MyDialog("注册功能暂未开通!"); dlg.popup(true); Laya.stage.addChild(dlg); });   2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

202. iframe跳转没反应 [ 59%]

iframe跳转没反应 btn.on(Laya.Event.CLICK,this,function(){ var iframe = Laya.Browser.createElement("iframe"); iframe.src = "http://www.baidu.com"; });点击按钮没有加载百度界面 2016-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

203. 区块地图-等角地图 [ 59%]

...WALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on(Laya.Event.CLICK, this, this.onStageClick); } createMap() { const TiledMap = Laya.TiledMap, Rectangle = Laya.Rectangle, Point = Laya.Point; this.tiledMap = new TiledMap(); this.tiledMap.createMap("res/tiledMap/isometric_grass_and_...

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

204. 请问添加了一个按钮,不知为何点击事件无效,确认有宽高。 [ 59%]

...个回复 Monica - 知识达人 赞同来自: 监听事件那里改成Laya.Event.CLICK看下 2017-08-17 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 zhouyilb 相关问题 Dialog:屏蔽点击Dialog之外的...

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

205. 创建树Tree 该怎么回调mouseHandler 形参该传什么 [ 59%]

...his,onTreeHandler); function onTreeHandler(e,index) {    if(e.type==Laya.Event.CLICK)   {   } } 2017-06-26 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 z298959 相关问题 骨骼动画播放完后的回调时间 ios原生回调问...

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

206. list 数据不会及时渲染 [ 59%]

...       }           private function onSelect(cardList:List, evt:Event, index:int):void         {             var cell:Box = cardList.getCell(index);             if(cell){                 if(evt.type == Event.CLICK){                      // ...

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

207. 父容器为何不响应鼠标事件 [ 59%]

...Laya.stage.addChild(father) father.x = 100; father.y = 100; father.on(Laya.Event.CLICK,this,this.onTestClick) 然而点击后onTestClick()根本不响应,如果改成son.on(...)倒是可以,该怎么解决呢? 2018-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

208. TextInput怎么执行focus()? [ 59%]

...ent.getElementById('test'), btn = document.querySelector('button'); btn.addEventListener('click', function(){ let int = document.createElement('input'); int.type = 'text'; document.body.appendChild(int); // input.focus(); int.focus(); })我这样是可以直接直接打开键盘的,只要放到引...

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

209. js飞机大战报错 请大神看看 [ 59%]

...按钮点击事件 点击后暂停游戏         this.pauseBtn.on(Laya.Event.CLICK, this, this.onPauseBtnClick);         // 初始化UI 显示         this.reset();     } ...     "Cannot read property 'on' of undefined" "TypeError: Cannot read property 'on' of undefined     at new ...

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

210. PlatformInterface就是平台相关支付吗? [ 59%]

...据平台下载 遍历相关问题 Laya.URL.basePath 相关 有没有Laya.Event.CLICK的相关说明文档 请问Laya的坐标系是什么样子的 2D的 怎么没有看到有相关的介绍 layawebview相关 求HTTP相关的文档或者例子谢谢了 问题状态 最新活动: 2018-04-19 11:28 浏...

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