idb.Factory

Factory

package js-html-idb

Available on js

In the following code snippet, we make a request to open a database, and include handlers for the success and error cases. For a full working example, see our To-do Notifications app (view example live.)

Documentation IDBFactory by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Methods

cmp (first:Dynamic, second:Dynamic):Int

Throws:

null DOMError

deleteDatabase (name:String, ?options:OpenDBOptions):OpenDBRequest

Throws:

null DOMError

open (name:String, ?options:OpenDBOptions):OpenDBRequest

open (name:String, version:Int):OpenDBRequest

Throws:

null DOMError

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/idb/Factory.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部