web - refactor lifecycle service to always go through before, will, did shutdown phases

This commit is contained in:
Benjamin Pasero
2021-11-02 12:56:58 +01:00
parent c49848e3f5
commit e06da97af6
3 changed files with 64 additions and 30 deletions

View File

@@ -846,6 +846,8 @@ export const EventType = {
LOAD: 'load',
BEFORE_UNLOAD: 'beforeunload',
UNLOAD: 'unload',
PAGE_SHOW: 'pageshow',
PAGE_HIDE: 'pagehide',
ABORT: 'abort',
ERROR: 'error',
RESIZE: 'resize',