@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.
@@ -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.73",
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",