没有合适的资源?快使用搜索试试~ 我知道了~
rich-component:库提供了与基于HTML的Web组件一起方便使用的方法
共35个文件
js:10个
yml:6个
htm:6个
需积分: 8 0 下载量 94 浏览量
2021-05-10
07:42:17
上传
评论
收藏 48KB ZIP 举报
温馨提示
概括 rich-component提供了一套方法,可以轻松地使用HTML模板管理WebComponent。 术语web component和custom element在这里可以互换使用。 它有助于像我这样的顺序和整洁的怪胎轻松地将HTML / CSS与JavaScript分开。 rich-component可确保所提供模板的正确性,在需要时提取/缓存模板,并将其注入每个新创建的组件实例的shadow / light中。 需要强调的几点: rich-component本身很小,并且定义的功能非常狭窄,它更像是实用程序或微型框架,而不是完整的野兽 简单是作者关注的主要问题之一 设计用于支持本机组件定义APis的API,因此从rich-component迁移到rich-component只需很少的工作-它不会将您绑定到任何东西 当需要通过网络获取模板时, custom element
资源推荐
资源详情
资源评论
收起资源包目录
rich-component-main.zip (35个子文件)
rich-component-main
.gitignore 34B
.github
workflows
release-deploy.yml 1KB
quality.yml 597B
release-prepare.yml 1KB
release-publish.yml 1KB
FUNDING.yml 68B
tests
test.html 330B
test-html-url.js 3KB
resources
test-b.htm 105B
test-dynamic-url-a.htm 83B
test-a.htm 105B
test-c.htm 105B
test-dynamic-url-b.htm 83B
test-empty-template.htm 0B
test-apis.js 3KB
test-template-fetch.js 2KB
test-dom-types.js 2KB
test-template.js 4KB
tests-run-config.json 143B
docs
browser_icons
chrome.png 1KB
firefox.png 1KB
edge.png 535B
api.md 3KB
changelog.md 2KB
package.json 1KB
src
template-fetch.js 930B
rich-component-class.js 3KB
rich-component.js 91B
readme.md 5KB
codecov.yml 25B
license 764B
ci
tools
version-utils.js 4KB
build-dist.js 910B
.eslintrc.json 244B
package-lock.json 130KB
共 35 条
- 1
资源评论
Untournant
- 粉丝: 50
- 资源: 4587
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功