@micro-zoe/micro-app 1.0.0-beta.2 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micro-zoe/micro-app",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "description": "A lightweight, efficient and powerful micro front-end framework",
5
5
  "private": false,
6
6
  "main": "lib/index.min.js",
@@ -192,8 +192,15 @@ declare module '@micro-app/types' {
192
192
  // get app state
193
193
  getAppState (): string
194
194
 
195
+ // get keep-alive state
195
196
  getKeepAliveState(): string | null
196
197
 
198
+ // is app unmounted
199
+ isUnmounted (): boolean
200
+
201
+ // is app already hidden
202
+ isHidden (): boolean
203
+
197
204
  // actions for completely destroy
198
205
  actionsForCompletelyDestroy (): void
199
206