html-element-attributes:HTML元素到允许属性的映射

时间:2021-05-03 10:40:13
【文件属性】:
文件名称:html-element-attributes:HTML元素到允许属性的映射
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-03 10:40:13
html attribute JavaScript html-element-attributes HTML元素到允许的属性的映射。 也包含在'*'下'*'全局属性。 包括来自HTML 4和HTML(WHATWG生活标准)的属性。 注意:包括不推荐使用的属性。 注意:在HTML 4中不是全局属性,但在HTML中的属性仅包含在全局属性列表中。 安装 该软件包仅适用于ESM:需要使用Node 12+才能使用它,并且必须将其import而不是require d。 : npm install html-element-attributes 用 import { htmlElementAttributes } from 'html-element-attributes' console . log ( htmlElementAttributes [ '*' ] ) console . log ( htmlElementAttributes
【文件预览】:
html-element-attributes-main
----.gitignore(57B)
----package.json(2KB)
----.npmrc(19B)
----build.js(3KB)
----index.js(6KB)
----tsconfig.json(349B)
----test.js(1KB)
----.github()
--------workflows()
----.prettierignore(15B)
----license(1KB)
----readme.md(3KB)
----.editorconfig(147B)
----funding.yml(15B)

网友评论