没有合适的资源?快使用搜索试试~ 我知道了~
htl:超文本文字
共54个文件
html:36个
js:9个
json:3个
需积分: 11 0 下载量 126 浏览量
2021-03-12
16:01:55
上传
评论
收藏 57KB ZIP 举报
温馨提示
超文本文字 超文本文字是HTML的标记模板文字,它根据上下文插值,从而允许自动转义和插值不可序列化的值,例如事件侦听器,样式对象和其他DOM节点。 它受和启发,并引用了极为精确的。 Hypertext Literal是在许可的ISC许可下开源的,很小(2KB),没有依赖关系,可。 安装: npm install htl 在不久的将来,我们计划将超文本文字合并到作为在Observable上生成HTML和SVG的首选方法。 请通过和帮助我们改进。 请参阅此自述文件以及有关Observable的实时示例: 为什么不串联? 当然,生成Web内容的最简单方法是编写 。 借助现代JavaScript使得将值插值到文字HTML中比以往任何时候都更加容易。 const value1 = "world" ; const html = `<h1>Hello ${ value1 } </h1>` ;
资源推荐
资源详情
资源评论
收起资源包目录
htl-main.zip (54个子文件)
htl-main
rollup.config.js 653B
package.json 998B
.eslintrc.json 362B
.github
workflows
node.js.yml 645B
eslint.json 367B
htl.sublime-project 340B
test
attributes-test.js 1KB
snapshots
interpolateIntoRawTextWithNonmatchingEndTag.html 35B
trailingBooleanAttribute.html 30B
interpolatedString.html 13B
escapeIntoRawText.html 26B
interpolateFragment.html 453B
staticNull.html 0B
staticText.html 13B
optionalText.html 24B
unquotedAttribute.html 25B
interpolateSet.html 35B
interpolatedStyleString.html 88B
escapeUnquotedAttribute.html 38B
escapeNonmatchingEndTagIntoRawText.html 30B
staticImpliedSpan.html 33B
booleanAttribute.html 45B
unquotedEmptyString.html 29B
interpolateIntoRawText.html 74B
interpolateIntoTitle.html 20B
interpolatedNode.html 45B
interpolateIntoTextareaWithAttributes.html 35B
escapeEntity.html 47B
interpolatedStyleObjectWithCustomProperty.html 66B
spreadAttributes.html 64B
interpolatedStyleObject.html 59B
escapeTags.html 56B
interpolateIntoScript.html 26B
staticExplicitSpan.html 33B
interpolatedNumber.html 10B
unquotedEmptyStringAfterPrefix.html 35B
optionalAttribute.html 29B
staticSvg.html 78B
interpolateSvgFragment.html 78B
interpolateIntoTextarea.html 26B
interpolateIntoStyle.html 24B
trailingUnquotedAttribute.html 29B
interpolatedNull.html 0B
jsdom.js 551B
invalid-binding-test.js 192B
invalid-rawtext-test.js 572B
snapshots.js 4KB
invalid-empty-unquoted-attribute-value-test.js 389B
snapshot-test.js 1KB
LICENSE 735B
src
index.js 21KB
.gitignore 63B
README.md 9KB
yarn.lock 79KB
共 54 条
- 1
资源评论
六演
- 粉丝: 17
- 资源: 4794
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MATLAB大数据仿真案例-蚁群算法(ACO)用于求解旅行商(TSP)问题.rar
- MySQL基础知识-个人笔记.rar
- Project8.ipynb
- Python实现BWO-LSTM白鲸算法优化长短期记忆神经网络时间序列预测(完整源码和数据)
- C语言实现文件读写操作的几种常用方法-C 语言.rar
- RK 3568 Android11 版本的梯形校正补丁
- 基于pyqt yolov5 dlib的驾驶员行为监控系统源码+模型.zip
- python代码案例详解-旅行商问题的多种求解算法.rar
- 单相电力电子负载仿真,PWM整流+单相并网逆变
- C语言功能模块(配置文件读取 、debug日志记录等).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功