public class IDBDatabase extends EventTarget
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<String> |
name |
Objs.Property<DOMStringList> |
objectStoreNames |
Objs.Property<Function.A1<? super Event,? extends Object>> |
onabort |
Objs.Property<Function.A1<? super Event,? extends Object>> |
onerror |
Objs.Property<String> |
version |
Modifier | Constructor and Description |
---|---|
protected |
IDBDatabase(Objs.Constructor<?> c,
Object js) |
dispatchEvent, removeEventListener, removeEventListener, removeEventListener, removeEventListener
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<String> name
public Objs.Property<DOMStringList> objectStoreNames
public Objs.Property<Function.A1<? super Event,? extends Object>> onabort
public Objs.Property<Function.A1<? super Event,? extends Object>> onerror
public Objs.Property<String> version
protected IDBDatabase(Objs.Constructor<?> c, Object js)
public static IDBDatabase $as(Object obj)
public String name()
public DOMStringList objectStoreNames()
public Function.A1<? super Event,? extends Object> onabort()
public Function.A1<? super Event,? extends Object> onerror()
public String version()
public void addEventListener(String type, EventListener listener, Boolean useCapture)
addEventListener
in class EventTarget
public void addEventListener(String type, EventListenerObject listener, Boolean useCapture)
addEventListener
in class EventTarget
public void addEventListener(String type, EventListener listener)
addEventListener
in class EventTarget
public void addEventListener(String type, EventListenerObject listener)
addEventListener
in class EventTarget
public void addEventListener(Void type, Function.A1<? super ErrorEvent,? extends Object> listener, Boolean useCapture)
public void addEventListener(Void type, Function.A1<? super ErrorEvent,? extends Object> listener)
public void close()
public IDBObjectStore createObjectStore(String name, Object optionalParameters)
public IDBObjectStore createObjectStore(String name)
public void deleteObjectStore(String name)
public IDBTransaction transaction(Object storeNames, String mode)
public IDBTransaction transaction(Object storeNames)
Copyright © 2018. All rights reserved.