Module Database

Index

Variables

Interfaces

Functions

Variables

FIELD_TYPE_DOUBLE: number

FIELD_TYPE_FLOAT: number

FIELD_TYPE_INT: number

FIELD_TYPE_STRING: number

bubbleParent: boolean

Functions

addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

applyProperties(props: Dictionary)

Parameters

fireEvent(name: string, event: Dictionary)

Parameters

getBubbleParent(): boolean

Returns

boolean

install(path: string, dbName: string): DB

Parameters

  • path: string
  • dbName: string

Returns

DB

open(dbName: string): DB

Parameters

  • dbName: string

Returns

DB

removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean