@mintjamsinc/ichigojs 0.1.12 → 0.1.13
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/dist/ichigo.esm.js +11 -2
- package/dist/ichigo.esm.js.map +1 -1
- package/dist/ichigo.esm.min.js +1 -1
- package/dist/ichigo.esm.min.js.map +1 -1
- package/dist/ichigo.umd.js +11 -2
- package/dist/ichigo.umd.js.map +1 -1
- package/dist/ichigo.umd.min.js +1 -1
- package/dist/ichigo.umd.min.js.map +1 -1
- package/dist/types/ichigo/VApplication.d.ts +4 -0
- package/package.json +1 -1
package/dist/ichigo.umd.js
CHANGED
@@ -7436,8 +7436,7 @@
|
|
7436
7436
|
*/
|
7437
7437
|
cleanupComponent() {
|
7438
7438
|
if (this.#childApp) {
|
7439
|
-
|
7440
|
-
// this.#childApp.unmount();
|
7439
|
+
this.#childApp.unmount();
|
7441
7440
|
this.#childApp = undefined;
|
7442
7441
|
}
|
7443
7442
|
this.#isActivated = false;
|
@@ -11223,6 +11222,16 @@
|
|
11223
11222
|
this.#vNode.update();
|
11224
11223
|
this.#logger.info('Application mounted.');
|
11225
11224
|
}
|
11225
|
+
/**
|
11226
|
+
* Unmounts the application and cleans up resources.
|
11227
|
+
*/
|
11228
|
+
unmount() {
|
11229
|
+
if (this.#vNode) {
|
11230
|
+
this.#vNode.destroy();
|
11231
|
+
this.#vNode = undefined;
|
11232
|
+
}
|
11233
|
+
this.#logger.info('Application unmounted.');
|
11234
|
+
}
|
11226
11235
|
/**
|
11227
11236
|
* Creates a child application instance with the same registries.
|
11228
11237
|
* @param options The application options for the child.
|