这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
supportedTypes
只读特性在
StorageQuota
interface returns a list of the available storage types.
var storageTypes = StorageQuota.supportedTypes
A frozen
数组
of available storage types.
| 规范 | 状态 | 注释 |
|---|---|---|
|
Quota Management API
The definition of 'supportedTypes' in that specification. |
过时 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
supportedTypes
弃用
|
Chrome 14 | Edge ≤79 | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android 37 | Chrome Android 18 | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android 1.0 |
完整支持
兼容性未知
弃用。不要用于新网站。
StorageQuota
queryInfo
requestPersistentQuota
supportedTypes