Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DbEvents

Hierarchy

  • DbEvents

Callable

  • __call(eventName: "ready", subscriber: function, bSticky?: undefined | false | true): void
  • __call(eventName: "populate", subscriber: function): void
  • __call(eventName: "blocked", subscriber: function): void
  • __call(eventName: "versionchange", subscriber: function): void
  • __call(eventName: string): DexieEvent
  • Parameters

    • eventName: "ready"
    • subscriber: function
        • (): any
        • Returns any

    • Optional bSticky: undefined | false | true

    Returns void

  • Parameters

    • eventName: "populate"
    • subscriber: function
        • (): any
        • Returns any

    Returns void

  • Parameters

    • eventName: "blocked"
    • subscriber: function
        • (): any
        • Returns any

    Returns void

  • Parameters

    • eventName: "versionchange"
    • subscriber: function
        • (event: IDBVersionChangeEvent): any
        • Parameters

          • event: IDBVersionChangeEvent

          Returns any

    Returns void

  • Parameters

    • eventName: string

    Returns DexieEvent

Index

Properties

blocked

blocked: DexieEvent

populate

populate: DexieEvent

ready

ready: DexieOnReadyEvent

versionchange

versionchange: DexieVersionChangeEvent

Methods

addEventType

  • addEventType(eventName: string, chainFunction?: undefined | function, defaultFunction?: Function): DexieEvent
  • addEventType(events: object): DexieEvent
  • Parameters

    • eventName: string
    • Optional chainFunction: undefined | function
    • Optional defaultFunction: Function

    Returns DexieEvent

  • Parameters

    • events: object
      • [eventName: string]: "asap" | [function, Function]

    Returns DexieEvent

Generated using TypeDoc