@mintjamsinc/ichigojs 0.1.15 → 0.1.16
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 +40 -9
- 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 +40 -9
- 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/directives/VComponentDirective.d.ts +6 -0
- package/dist/types/ichigo/directives/VDirectiveManager.d.ts +6 -0
- package/package.json +1 -1
@@ -66,6 +66,12 @@ export declare class VComponentDirective implements VDirective {
|
|
66
66
|
* @inheritdoc
|
67
67
|
*/
|
68
68
|
get onUnmounted(): (() => void) | undefined;
|
69
|
+
/**
|
70
|
+
* Clones the component's template and returns the root element.
|
71
|
+
* @returns The cloned root HTMLElement of the component.
|
72
|
+
* @throws Error if the component or its template is not found.
|
73
|
+
*/
|
74
|
+
cloneNode(): HTMLElement;
|
69
75
|
/**
|
70
76
|
* @inheritdoc
|
71
77
|
*/
|
@@ -3,6 +3,7 @@ import { VNode } from "../VNode";
|
|
3
3
|
import { VBindingsPreparer } from "../VBindingsPreparer";
|
4
4
|
import { VDOMUpdater } from "../VDOMUpdater";
|
5
5
|
import { VBindDirective } from "./VBindDirective";
|
6
|
+
import { VComponentDirective } from "./VComponentDirective";
|
6
7
|
/**
|
7
8
|
* Manages directives associated with a virtual node (VNode).
|
8
9
|
* This class is responsible for parsing, storing, and managing the lifecycle of directives.
|
@@ -37,6 +38,11 @@ export declare class VDirectiveManager {
|
|
37
38
|
* If no such directive exists, this returns undefined.
|
38
39
|
*/
|
39
40
|
get keyDirective(): VBindDirective | undefined;
|
41
|
+
/**
|
42
|
+
* Gets the v-component directive associated with this node, if any.
|
43
|
+
* This may be undefined if there is no v-component directive.
|
44
|
+
*/
|
45
|
+
get componentDirective(): VComponentDirective | undefined;
|
40
46
|
/**
|
41
47
|
* Gets the VBindDirective for options specific to the given directive name.
|
42
48
|
* Searches in order: `:options.{directive}` -> `:options`
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mintjamsinc/ichigojs",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.16",
|
4
4
|
"description": "ichigo.js - Simple and intuitive reactive framework. Lightweight, fast, and user-friendly virtual DOM library",
|
5
5
|
"main": "./dist/ichigo.umd.js",
|
6
6
|
"module": "./dist/ichigo.esm.js",
|