org.scalajs.dom.raw

IDBOpenDBRequest

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IDBOpenDBRequest()

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addEventListener[T <: Event](type: String, listener: Function1[T, _], options: EventListenerOptions): Unit

    The EventTarget.

    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).

    This implementation accepts a settings object of type EventListenerOptions.

    MDN

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

    The EventTarget.

    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
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

    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
  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def error: DOMException

    Returns a DOMException in the event of an unsuccessful request, indicating what went wrong.

    Returns a DOMException in the event of an unsuccessful request, indicating what went wrong.

    MDN

    Definition Classes
    IDBRequest
  14. def finalize(): Unit

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

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

    Definition Classes
    Object
  17. def hashCode(): Int

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

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

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

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. var onblocked: Function1[IDBVersionChangeEvent, _]

    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

  24. var onerror: Function1[Event, _]

    The event handler for the error event.

    The event handler for the error event.

    MDN

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

    The event handler for the success event.

    The event handler for the success event.

    MDN

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

    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

  27. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  28. def readyState: String

    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
  29. def removeEventListener[T <: Event](type: String, listener: Function1[T, _], options: EventListenerOptions): Unit

    Removes the event listener previously registered with EventTarget.

    Removes the event listener previously registered with EventTarget.addEventListener.

    This implementation accepts a settings object of type EventListenerOptions.

    MDN

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

    Removes the event listener previously registered with EventTarget.

    Removes the event listener previously registered with EventTarget.addEventListener.

    MDN

    Definition Classes
    EventTarget
  31. def result: Any

    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
  32. def source: Any

    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
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toLocaleString(): String

    Definition Classes
    Object
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def transaction: IDBTransaction

    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
  37. def valueOf(): Any

    Definition Classes
    Object
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IDBRequest

Inherited from EventTarget

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped