Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DbEvents

Callable

  • __call(eventName: "ready", subscriber: function, bSticky?: boolean): 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: boolean

    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?: function, defaultFunction?: Function): DexieEvent
  • addEventType(events: object): DexieEvent
  • Parameters

    • eventName: string
    • Optional chainFunction: function
        • (f1: Function, f2: Function): Function
        • Parameters

          • f1: Function
          • f2: Function

          Returns Function

    • Optional defaultFunction: Function

    Returns DexieEvent

  • Parameters

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

    Returns DexieEvent

Made by Horyus. Documentation generated by TypeDoc.