大约有 2,110 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
...ent = new laya.html.dom.HTMLDivElement(); testHTMLDivElement.innerHTML = "<br/><span> 我的第一行要换行</span>"; laya.stage.addChild(testHTMLDivElement); } 运行时报错(如附件截图) 另在编辑器中直接添加html控件后也报错 附件 : --> 2018-10-11 ...
来源: Laya_社区 发布时间: 20181011
...InChild(node:laya.display.Node):Laya.Animator { for (var index = 0; index < node._childs.length; index++) { var element:Laya.Animator = node._childs[index].getComponentByType(Laya.Animator); if (element!=null) { return element; }else this.GetComponetInChild(node._childs[index],); } } 如何写...
来源: Laya_社区 发布时间: 20180531
...滚动条问题,vscrollBar的min,max,value属性,不能用,求解 (<Laya.TextArea>this.view["textArea_world"]).vScrollBar.min = 1; (<Laya.TextArea>this.view["textArea_world"]).vScrollBar.max = 10; (<Laya.TextArea>this.view["textArea_world"]).vScrollBar.value = 10 附件 : ...
来源: Laya_社区 发布时间: 20171020
...://www.baidu.com"; goToNewWindow(url); } 这是index.html的js方法 <script> function goToNewWindow(payurl) { var a = $("<a href='"+payurl+"' target='_blank'>click</a>").get(0); console.log("aaa",a); var e = document.createEvent('MouseEvents'); e...
来源: Laya_社区 发布时间: 20180321
...ion [options] Options: -V, --version output the version number -i --input <input> 资源目录 -o --output <output> 导出目录 -n --versionName <version name> 版本名称,默认是从1000开始递增的数字 -h, --help output usage information 试用了layacmd resourceVers...
来源: Laya_社区 发布时间: 20180724
..... //这里是销毁地图层的代码 var tLayer:MapLayer; for (i = 0; i < _layerArray.length; i++) { tLayer = _layerArray[i]; tLayer.clearAll(); } ........ }然后在MapLayer的clearAll()里面会去销毁子节点GridSprite /** * @private * 清理当前对象 */ public function clearAll():void...
来源: Laya_社区 发布时间: 20180503
...引起wcag的报错 All page content shoud be contained by landmarks <canvas width="1024" height="512" style="left: -10000px; position: absolute;"></canvas> 附件 : --> 2022-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20220720
...动添加材质的过程在代码中是自动做好了 /** * 创建一个 <code>PixelLineSprite3D</code> 实例。 * @param maxCount 最大线段数量。 * @param name 名字。 */ constructor(maxCount: number = 2, name: string = null) { super(name); this._render = this.addComponent(Pix...
来源: Laya3.0_文档 发布时间: 20251010
...ew' of undefined at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:5:68) at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:24:3) at eval (<anonymous>) at AA.__proto.complete (AA.max.js:410) at EventHandler.__proto.runWith (AA....
来源: Laya_社区 发布时间: 20170726
...:30 at require (http://127.0.0.1:16026/game/__ ... :96033) at <anonymous>:1:1 at HTMLScriptElement.scriptLoaded (<anonymous>:18:21) at HTMLScriptElement.script.onload (<anonymous>:30:20) 2020-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20200326