@netless/sync-box
v0.0.6
Published
``` # npm npm install @netless/sync-box
Downloads
2
Readme
安装
# npm
npm install @netless/sync-box
# yarn
yarn add @netless/sync-box
插入
let plugin = room.getInvisiblePlugin(SyncBox.kind)
if (!plugin) {
plugin = SyncBox.create({ room, width: 1280, height: 720 });
}
const h1 = document.createElement("h1");
h1.innerText = "h1";
plugin.bind(h1);