大约有 81 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0044 秒)
Laya_社区(54) Laya2.0_文档(12) Laya3.0_文档(5) Laya_示例(4) Laya2.0_示例(3) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
...d("AppConfirm"); if (this.AppConfirm == null) { this.AppConfirm = document.createElement("div"); document.body.appendChild(this.AppConfirm); this.AppConfirm.id = "AppConfirm"; } this.modlueDiv = document.getElementById("modlue"); if (this.modlueDiv == null) { this.modlueDiv = document.createElemen...
来源: Laya_社区 发布时间: 20181214
...ureScreen(function(arrayBuff,width,height){ window.image = window.document.createElement("img"); window.image.putImageData(arrayBuff,width,height); }) } } E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaai...
来源: Laya_社区 发布时间: 20180227
...致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); var img:any = Laya.Browser.document.createElement("img"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:0;width:200px;height:100px;background:url(b1.png) no-repeat center;cursor:pointe...
来源: Laya_社区 发布时间: 20190129
...); this.form.addChild(t); } createInputElement(){ let input = Laya.Browser.createElement("input"); input.style.zIndex = Laya.Render.canvas.zIndex + 1; input.style.width = "100px"; Laya.Browser.document.body.appendChild(input); return input; } fitDOMElements(){ for (let i = 0; i < arguments.length; i...
来源: Laya2.0_示例 发布时间: 20241118
...,400); Laya.stage.bgColor = "#ffcccc"; var div:any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var url:string = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcod...
来源: Laya2.0_文档 发布时间: 20210715
...os上input无法隐藏 var z_file = Laya.Browser.document.createElement("input"); //创建input var f_file = Laya.Browser.document.createElement("input"); //创建input z_file.style="filter:alpha(opacity=0);opacity:0;width: 29%;height:11%;"; ...
来源: Laya_社区 发布时间: 20171128
...orm.addChild(t); } function createInputElement(){ var input = Laya.Browser.createElement("input"); input.style.zIndex = Laya.Render.canvas.zIndex + 1; input.style.width = "100px"; Laya.Browser.document.body.appendChild(input); return input; } function fitDOMElements(){ for (var i = 0; i < arguments....
来源: Laya_示例 发布时间: 20241118
...vertToBaiduCoord.bind(this); })(); function createDom() { mapDiv = Browser.createElement("div"); var style = mapDiv.style; style.position = "absolute"; style.top = Laya.stage.height / Browser.pixelRatio + "px"; style.left = "0px"; style.width = Browser.width / Browser.pixelRatio + "px"; style.height...
来源: Laya_示例 发布时间: 20241118
...bind(this); } createDom() { const Browser = Laya.Browser; mapDiv = Browser.createElement("div"); let style = mapDiv.style; style.position = "absolute"; style.top = Laya.stage.height / Browser.pixelRatio + "px"; style.left = "0px"; style.width = Browser.width / Browser.pixelRatio + "px"; style.height...
来源: Laya2.0_示例 发布时间: 20241118
...{ //初始化引擎 Laya.init(600, 400); var div:Object = Browser.document.createElement("div"); qrcode= new Browser.window.QRCode(div,{ width : 100, height : 100 }); var url:String ="http://layabox.com/"; qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); qrcodeSp = new Sprite(); Lay...
来源: Laya2.0_文档 发布时间: 20210715