大约有 162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
Laya_社区(133) Laya3.0_文档(8) Laya2.0_文档(7) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) laya_api(1) Laya2.0_api(1)
styles.xml报错 按钮存为默认属性后就报错,LayaAirIDE_1.7.11 - 1.7.13都试了 <html type="Button" props="label=label@@!@@x=-171@@!@@y=431@@!@@stateNum=1"> <body> <parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1e...
来源: Laya_社区 发布时间: 20171130
...vElement = this.lb; lb.width = 100; lb.height = 24; const html1 = '<div style="float:right;"><span>1</span><span>2</span></div>'; const html2 = '<span style="float:right;">1</span>'; const html3 = '<div style="width:50;text-align:right;"><span...
来源: Laya_社区 发布时间: 20190531
...ame = Laya.Browser.document.createElement("iframe"); this.iframe.style.position ="absolute";//设置布局定位。这个不能少。 this.iframe.style.zIndex = 1000;//设置层级 this.iframe.style.left ="100px"; this.iframe.style.top ="100px"; this.iframe.sr...
来源: Laya_社区 发布时间: 20170630
...气泡随着聊天内容变化的圆角矩形 用的HTMLDivElement,但是style里不能设置background为图片啊,只能为color 在html里是这样写的 <span>右边</span> <div style="width:422px;"> <img style= " display:inline; float:right; " src...
来源: Laya_社区 发布时间: 20170710
...reateParagraph() { var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var html = "<div>"; html += "<span color='#e3d26a'>使用</span>"; html += "<span style='color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; html...
来源: Laya_社区 发布时间: 20170515
...DivElement下划线跑到别的文字下面。 let str1:string = "<span style='color:#ffcc11;'>33333333333333333333333333 </span><a style='color:#ffcc11;' href='aaa28'>中国中国中国</a><span style='color:#ffcc11;fontSize:26;'>嗯嗯嗯嗯嗯嗯噢噢噢</span>...
来源: Laya_社区 发布时间: 20191231
... this.iframe.src = "https://www.layabox.com/"; this.iframe.style.position = "fixed"; this.iframe.style.top = "0"; this.iframe.style.bottom = "0"; this.iframe.style.left = "0"; this.iframe.style.right = "0"; this.iframe.sty...
来源: Laya_社区 发布时间: 20240304
...firmBtn); } this.newMask = document.createElement("div"); this.modlueDiv.style.visibility = "visible"; var clipboard = new ClipboardJS("#confirm", { text: function () { return str; } }) clipboard.on("success", function (e) { console.log("ok:") console.log(e) clipboard.destroy(); }) clipboard.o...
来源: Laya_社区 发布时间: 20181214
...有行高lineHeight var html3:HTMLDivElement=new HTMLDivElement(); html3.style.lineHeight=30; html3.style.width=300; html3.style.align="center"; html3.innerHTML="<span>我的第一行要换行</span><br/><span>BBBBBBBBBBB</span>"; Laya.stage.addChild(html3); 2016-12-...
来源: Laya_社区 发布时间: 20161213
...动换行导致栈溢出异常 laya.html.dom.HTMLDivElement对象 设置 style.wordWrap = false; 会导致 Maximum call stack size exceeded异常! 2017-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 answer...
来源: Laya_社区 发布时间: 20170615