没有合适的资源?快使用搜索试试~ 我知道了~
worker-dom:您知道的相同的DOM API和框架,但在Web Worker中
共411个文件
ts:292个
js:37个
html:25个
需积分: 22 0 下载量 173 浏览量
2021-05-11
21:54:03
上传
评论
收藏 825KB ZIP 举报
温馨提示
工人DOM DOM API的正在进行中的实现,旨在在Web Worker中运行。 目的:将与DOM突变相关的中间工作的复杂性移到后台线程,仅将必要的操作发送到前台线程。 用例: 来自第三方的嵌入内容与第一方代码并存。 减少了不需要对用户操作进行同步更新的内容的昂贵呈现。 通过异步更新文档中的其他位置,保留主线程对高优先级更新的可用性。 有关更多信息,请访问我们的WorkerDOM或在JSConf US上查看公告中的。 安装 npm install @ampproject/worker-dom 用法 WorkerDOM有两种版本,全局变量和模块变量。 可以直接或通过捆绑器在文档中包含WorkerDOM主线程代码。 您可以直接执行以下操作: < script src =" path/to/workerdom/dist/main.mjs " type =" module " > <
资源推荐
资源详情
资源评论
收起资源包目录
worker-dom:您知道的相同的DOM API和框架,但在Web Worker中 (411个子文件)
.babelrc 137B
.babelrc 119B
.babelrc 112B
.babelrc 37B
todomvc.css 7KB
todomvc.css 7KB
dbmon.css 2KB
base.css 2KB
main.css 2KB
main.css 2KB
candidateTable.css 969B
candidateTable.css 969B
candidateMap.css 867B
candidateMap.css 867B
demo.css 665B
.gitignore 127B
.gitignore 17B
index.html 3KB
index.html 2KB
index.html 2KB
index.html 2KB
index.html 2KB
index.html 2KB
sandbox-iframe.html 2KB
index.html 2KB
index.html 2KB
index.html 2KB
index.html 2KB
index.html 2KB
index.html 2KB
index.html 1KB
index.html 1KB
index.html 1KB
index.html 1KB
index.html 1KB
index.html 1KB
index.html 1KB
index.html 1KB
index.html 1KB
iframe.html 877B
index.html 753B
index.html 541B
dog.jpg 59KB
main.js 1000KB
app.js 93KB
dbmon.js 53KB
app.js 50KB
main.js 43KB
rollup.worker-thread.js 7KB
rollup.plugins.js 5KB
index.js 4KB
canvas.js 4KB
rollup.main-thread.js 4KB
monitor.js 3KB
index.js 3KB
webassembly.js 2KB
primes.js 2KB
matching-ok.js 2KB
author.js 2KB
dict.js 2KB
webpack.config.js 2KB
webpack.config.js 2KB
server.js 1KB
not-matching.js 1KB
create.js 1KB
author-vanilla.js 1KB
index.js 1KB
hello-world.js 1KB
matching-no-ok.js 1KB
long-task-demo.js 999B
two-roots.js 915B
rollup.utils.js 903B
author.js 878B
call-function.js 850B
rollup.config.js 807B
author.js 585B
comments.js 439B
storage.js 366B
scroll-into-view.js 287B
clone.js 170B
package.json 4KB
package.json 1KB
package.json 742B
tslint.json 739B
package.json 717B
tsconfig.json 493B
tsconfig.json 484B
tsconfig.json 466B
tsconfig.json 434B
tsconfig.json 432B
renovate.json 207B
renovate.json 207B
renovate.json 112B
data.json 21B
candidateTable.jsx 3KB
candidateTable.jsx 3KB
candidateMap.jsx 3KB
candidateMap.jsx 3KB
index.jsx 2KB
index.jsx 2KB
共 411 条
- 1
- 2
- 3
- 4
- 5
资源评论
蓝星神
- 粉丝: 24
- 资源: 4714
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功