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

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

1. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 100%]

....createElement("iframe"); iframe.style.position = "absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left = "100px"; iframe.style.top = "100px"; iframe.src = "http://ask.layabox.com/"; Laya.Browser.document.body.appendChild(iframe); } ``` 这...

来源: Laya2.0_文档 发布时间: 20210714

2. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 97%]

...t.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layabox.com/"; Laya.Browser.document.body.appendChild(iframe); } } new Main;...

来源: Laya2.0_文档 发布时间: 20210715

3. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 80%]

...t.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layabox.com/"; Browser.document.body.appendChild(iframe); } } } ``` ​ 这...

来源: Laya2.0_文档 发布时间: 20210715