Module: init_js

Methods

(inner) appInit() → {void}

Initializes the html elements
Source:
Returns:
Type
void

(inner) appInitStart() → {void}

Starts the app
Source:
Returns:
Type
void

(inner) clearAndReload() → {void}

Clears the service worker caches and reloads the app
Source:
Returns:
Type
void

(inner) clearCache() → {void}

Clears the service worker caches
Source:
Returns:
Type
void

(inner) getAssets() → {void}

Gets the initial assets
Source:
Returns:
Type
void

(inner) initNavs() → {void}

Initializes the navigation html elements
Source:
Returns:
Type
void

(inner) onShow() → {void}

Checks the connection state and reconnects the websocket on demand
Source:
Returns:
Type
void

(inner) showAppInitAlert(text) → {void}

Shows an error message on the splashscreen
Parameters:
Name Type Description
text string message to display (untranslated)
Source:
Returns:
Type
void