Skip to main content
Version: Annotations-V1.0.0

Frost

@frost/frost-web / Exports / Frost

Class: Frost

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new Frost()

Properties

firebaseApp

Static firebaseApp: FirebaseApp


firebaseDB

Static firebaseDB: Database

Accessors

initialized

Static get initialized(): boolean

Returns

boolean

Methods

getIndices

Static getIndices(): string

Returns

string

a JSON String for the indices to be added to the Firebase Realtime Database


initialize

Static initialize<T>(firebaseConfig, APIs): FrostAppImpl<T>

This method initializes the firebase app instance and the database instance

Type parameters

NameType
Textends Object

Parameters

NameType
firebaseConfigFirebaseOptions
APIsT

Returns

FrostAppImpl<T>

FirebaseApp