跳到主要内容

createContainer 创建容器元素

createContainer

类型: MethodDeclaration

定义位置: webgl.ts

描述

创建容器元素

返回值

类型: HTMLDivElement

源代码

位置: 第 79 行

private createContainer(): HTMLDivElement {
const container = document.createElement('div')
container.style.position = 'fixed'
document.body.insertBefore(
container, document.body.firstChild,
)
return container
}

文档生成时间:2025/7/7 12:07:07