Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Latest commit

 

History

History
53 lines (30 loc) · 1.16 KB

src-pwa_PWA.md

File metadata and controls

53 lines (30 loc) · 1.16 KB

Module pwa/PWA

category:other

Source file

Class PWA

Progressive Web App container

Methods

asyncInit() ►

modifier: private

Called to allow the inherited class to initialize async

Parameters Type Description
return undefined Promise

getToken() ►

modifier: private

Returns the JWT token to use in REST (if implemented in inherited class)

Parameters Type Description
return undefined JWT token wrapped in promise

routerReady()

modifier: private

Called when all routes have been set up (asynchronously)


Members

Name Type Description
restService undefined Returns the REST service (using a fetch implementation)
UI undefined Returns the UI instance for this PWA
router undefined Returns the router instance created for the PWA.