《名厨争锋》海报出炉 谢霆锋与星厨较量东西方美食
Baseline Widely available
百度 原标题:唠叨妈整天逼子成家26岁小伙患上精神障碍楚天都市报讯楚天都市报讯(记者刘迅通讯员孟佳赵林)大家都结婚了,你还要等到什么时候?找女朋友不能太挑了!26岁小伙为妈妈经常这样唠叨所痛苦,但多年来一直压抑情绪避免发生冲突,最终患上情感性精神障碍,目前正在进行心理治疗。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
indexedDB
是 WindowOrWorkerGlobalScope
的一个只读属性,它集成了为应用程序提供异步访问索引数据库的功能的机制。
值
一个 IDBFactory
对象。
示例
js
var db;
function openDB() {
var DBOpenRequest = window.indexedDB.open("toDoList");
DBOpenRequest.onsuccess = function (e) {
db = DBOpenRequest.result;
};
}
规范
Specification |
---|
Indexed Database API 3.0 # dom-windoworworkerglobalscope-indexeddb |
浏览器兼容性
参见
- Using IndexedDB
- Starting transactions:
IDBDatabase
- Using transactions:
IDBTransaction
- Setting a range of keys:
IDBKeyRange
- Retrieving and making changes to your data:
IDBObjectStore
- Using cursors:
IDBCursor
- Reference example: To-do Notifications (view example live.)