大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0012 秒)
...); // 设置Video元素地样式和属性 videoElement.style.zIndex = Laya.Render.canvas.style.zIndex + 1; videoElement.src = "res/av/mov_bbb.mp4"; videoElement.controls = true; // 阻止IOS视频全屏 videoElement.setAttribute("webkit-playsinline", true); videoElement.setAttribute("playsinline", t...
来源: Laya2.0_示例 发布时间: 20241118
...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++) { let dom = arguments[i]; Laya.Utils.fitDOMEle...
来源: Laya2.0_示例 发布时间: 20241118
...let tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"; tree.itemRender = Item; tree.xml = xml; tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } } const Box = Laya.Box, Clip = Laya.Clip, Label = ...
来源: Laya2.0_示例 发布时间: 20241118