@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/lib/index.d.ts +1 -1
- package/lib/index.esm.js +128 -80
- package/lib/index.esm.js.map +1 -1
- package/lib/index.min.js +1 -1
- package/lib/index.min.js.map +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/typings/global.d.ts +7 -0
package/package.json
CHANGED
package/typings/global.d.ts
CHANGED
|
@@ -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
|
|