@mintjamsinc/ichigojs 0.1.73 → 0.1.74
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/README.md +1 -1
- package/dist/ichigo.cjs +42 -7
- package/dist/ichigo.cjs.map +1 -1
- package/dist/ichigo.esm.js +42 -7
- package/dist/ichigo.esm.js.map +1 -1
- package/dist/ichigo.esm.min.js +1 -1
- package/dist/ichigo.min.cjs +1 -1
- package/dist/ichigo.umd.js +42 -7
- package/dist/ichigo.umd.js.map +1 -1
- package/dist/ichigo.umd.min.js +1 -1
- package/dist/types/ichigo/VBindings.d.ts +11 -0
- package/package.json +1 -1
|
@@ -38,6 +38,17 @@ export declare class VBindings {
|
|
|
38
38
|
* @param value The binding value.
|
|
39
39
|
*/
|
|
40
40
|
set(key: string, value: any): void;
|
|
41
|
+
/**
|
|
42
|
+
* Sets a binding value in THIS scope's own local store, without walking up to a
|
|
43
|
+
* parent scope. Used for scope-local variables (e.g. v-for loop items) that must
|
|
44
|
+
* shadow — never overwrite — an inherited binding of the same name. Contrast with
|
|
45
|
+
* {@link set}, which retargets a write of an inherited key to the owning parent so
|
|
46
|
+
* that reassignments mutate the original; a loop variable named like a root data /
|
|
47
|
+
* method / computed key (e.g. `t`) would otherwise clobber it.
|
|
48
|
+
* @param key The binding name.
|
|
49
|
+
* @param value The binding value.
|
|
50
|
+
*/
|
|
51
|
+
setLocal(key: string, value: any): void;
|
|
41
52
|
/**
|
|
42
53
|
* Gets a binding value.
|
|
43
54
|
* @param key The binding name.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintjamsinc/ichigojs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.74",
|
|
4
4
|
"description": "ichigo.js - Simple and intuitive reactive framework. Lightweight, fast, and user-friendly virtual DOM library",
|
|
5
5
|
"main": "./dist/ichigo.cjs",
|
|
6
6
|
"module": "./dist/ichigo.esm.js",
|