Class

org.scalajs.dom.raw

IDBOpenDBRequest

Related Doc: package raw

Permalink

class IDBOpenDBRequest extends IDBRequest

The IDBOpenDBRequest interface of the IndexedDB API provides access to results of requests to open databases using specific event handler attributes.

MDN

Annotations
@RawJSType() @native() @JSGlobal()
Linear Supertypes
IDBRequest, EventTarget, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IDBOpenDBRequest
  2. IDBRequest
  3. EventTarget
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IDBOpenDBRequest()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addEventListener[T <: Event](type: String, listener: Function1[T, _], useCapture: Boolean = js.native): Unit

    Permalink

    The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.

    The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on. The event target may be an Element in a document, the Document itself, a Window, or any other object that supports events (such as XMLHttpRequest).

    MDN

    Definition Classes
    EventTarget
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dispatchEvent(evt: Event): Boolean

    Permalink

    Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.

    Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) apply to events dispatched manually with dispatchEvent().

    MDN

    Definition Classes
    EventTarget
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def error: DOMError

    Permalink

    A DOMError containing the relevant error.

    A DOMError containing the relevant error. The following error codes are returned under certain conditions:

    MDN

    Definition Classes
    IDBRequest
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. var onblocked: Function1[Event, _]

    Permalink

    The event handler for the blocked event.

    The event handler for the blocked event. This event is triggered when the upgradeneeded should be triggered because of a version change but the database is still in use (ie not closed) somewhere, even after the versionchange event was sent.

    MDN

  21. var onerror: Function1[ErrorEvent, _]

    Permalink

    The event handler for the error event.

    The event handler for the error event.

    MDN

    Definition Classes
    IDBRequest
  22. var onsuccess: Function1[Event, _]

    Permalink

    The event handler for the success event.

    The event handler for the success event.

    MDN

    Definition Classes
    IDBRequest
  23. var onupgradeneeded: Function1[IDBVersionChangeEvent, _]

    Permalink

    The event handler for the upgradeneeded event, fired when a database of a bigger version number than the existing stored database is loaded.

    The event handler for the upgradeneeded event, fired when a database of a bigger version number than the existing stored database is loaded.

    MDN

  24. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  25. def readyState: String

    Permalink

    The state of the request.

    The state of the request. Every request starts in the pending state. The state changes to done when the request completes successfully or when an error occurs.

    MDN

    Definition Classes
    IDBRequest
  26. def removeEventListener[T <: Event](type: String, listener: Function1[T, _], useCapture: Boolean = js.native): Unit

    Permalink

    Removes the event listener previously registered with EventTarget.addEventListener.

    Removes the event listener previously registered with EventTarget.addEventListener.

    MDN

    Definition Classes
    EventTarget
  27. def result: Any

    Permalink

    Returns the result of the request.

    Returns the result of the request. If the the request failed and the result is not available, the InvalidStateError exception is thrown.

    MDN

    Definition Classes
    IDBRequest
  28. def source: Any

    Permalink

    The source of the request, such as an Index or a ObjectStore.

    The source of the request, such as an Index or a ObjectStore. If no source exists (such as when calling IDBFactory.open), it returns null.

    MDN

    Definition Classes
    IDBRequest
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def transaction: IDBTransaction

    Permalink

    The transaction for the request.

    The transaction for the request. This property can be null for certain requests, such as for request returned from IDBFactory.open (You're just connecting to a database, so there is no transaction to return).

    MDN

    Definition Classes
    IDBRequest
  33. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IDBRequest

Inherited from EventTarget

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped