Options
All
  • Public
  • Public/Protected
  • All
Menu

External module scripts/db

Manage the indexed database

Index

Events

onLoad

  • onLoad(): void
  • Called when document and resources are loaded

    Initialize the Dexie database

    Returns void

Variables

Const CLIP_ITEM

CLIP_ITEM: "clipItem" = "clipItem"

Const CREATE

CREATE: "create" = "create"

Const CREATING

CREATING: "creating" = "creating"

Const DELETE

DELETE: "delete" = "delete"

Const DELETING

DELETING: "deleting" = "deleting"

Const LABEL

LABEL: "label" = "label"

Const UPDATE

UPDATE: "update" = "update"

Const UPDATING

UPDATING: "updating" = "updating"

Let db

db: MyDB

The Dexie database http://dexie.org/

Let isReady

isReady: boolean

Flag to indicate if database is ready

Functions

clips

get

labels

  • labels(): Table<Label, number>

waitForReady

  • waitForReady(): Promise<Object>

Generated using TypeDoc