Uweheuerfrontend: Difference between revisions
| Line 1: | Line 1: | ||
===Application State=== | ===Application State=== | ||
* <code>/services/application-state.ts</code> | * <code>/services/application-state.ts</code> | ||
* manages the application state as BehaviorSubject, a sub-type of Observable and expose the state as Observable | |||
* <code>/services/application-state.service.ts</code> | * <code>/services/application-state.service.ts</code> | ||
** in ctor: | ** in ctor: | ||
*** subscribe to Angular SWUpdate service | *** subscribe to Angular SWUpdate service | ||
*** setup regular SW version check | *** setup regular SW version check | ||
Revision as of 21:13, 31 October 2022
Application State
/services/application-state.ts- manages the application state as BehaviorSubject, a sub-type of Observable and expose the state as Observable
/services/application-state.service.ts- in ctor:
- subscribe to Angular SWUpdate service
- setup regular SW version check
- in ctor: