Learn R Programming

firebase (version 1.0.2)

Firebase: Firebase

Description

Core Firebase class.

Arguments

Value

An object of class Firebase.

Public fields

session

A valid Shiny session.

Methods


Method new()

Usage

Firebase$new(
  config_path = "firebase.rds",
  session = shiny::getDefaultReactiveDomain()
)

Arguments

config_path

Path to the configuration file as created by firebase_config.

session

A valid shiny session.

Details

Initialise Firebase

Initialises the Firebase application client-side.

Returns

Invisibly return the class.


Method expose_app()

Usage

Firebase$expose_app()

Details

Expose App

Expose the firebaseApp object product of initializeApp() by attaching it to the window: access it with window.firebaseApp.


Method print()

Usage

Firebase$print()

Details

Print the class


Method clone()

The objects of this class are cloneable with this method.

Usage

Firebase$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.