version
Type | String |
---|---|
强制性 | 强制 |
示例 | json
|
附加组件的版本,一般格式设置为由点分隔开来数字的 ASCII 字符串。关于版本格式的详细信息,请查看 Version format .
需要注意的是 Chrome 浏览器的 version 格式要求 (the syntax defined for Chrome's version
) 比 Firefox 浏览器的 version 格式更严格一些,这意味这:
- 对 Chrome 浏览器有效的 version 特性的值一定在 Firefox 浏览器中有效
- 但对 Firefox 浏览器有效的 version 特性的值在 Chrome 浏览器中却不一定有效
示例
json
"version": "0.1"
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
version |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.