ninegrid2 6.1182.0 → 6.1184.0

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.
@@ -121898,15 +121898,19 @@ class nxDiv extends HTMLElement
121898
121898
  }
121899
121899
  }
121900
121900
 
121901
+ #changeHandler = (e) => {
121902
+ console.log(e);
121903
+ }
121901
121904
 
121902
121905
  #init = () => {
121903
121906
 
121904
- console.log(this);
121905
- console.log(this.shadowRoot.querySelectorAll("input[name], textarea[name], select[name]"));
121907
+ //console.log(this);
121908
+ //console.log(this.querySelectorAll("input[name], textarea[name], select[name]"));
121906
121909
 
121907
- ninegrid.querySelectorAll("input[name], textarea[name], select[name]", this.shadowRoot).forEach(el => {
121908
- el.name;
121910
+ this.querySelectorAll("input[name], textarea[name], select[name]").forEach(el => {
121909
121911
  console.log(el);
121912
+ el.removeEventListener("input", this.#changeHandler);
121913
+ el.addEventListener("input", this.#changeHandler);
121910
121914
  });
121911
121915
 
121912
121916
  /**
@@ -121894,15 +121894,19 @@ class nxDiv extends HTMLElement
121894
121894
  }
121895
121895
  }
121896
121896
 
121897
+ #changeHandler = (e) => {
121898
+ console.log(e);
121899
+ }
121897
121900
 
121898
121901
  #init = () => {
121899
121902
 
121900
- console.log(this);
121901
- console.log(this.shadowRoot.querySelectorAll("input[name], textarea[name], select[name]"));
121903
+ //console.log(this);
121904
+ //console.log(this.querySelectorAll("input[name], textarea[name], select[name]"));
121902
121905
 
121903
- ninegrid.querySelectorAll("input[name], textarea[name], select[name]", this.shadowRoot).forEach(el => {
121904
- el.name;
121906
+ this.querySelectorAll("input[name], textarea[name], select[name]").forEach(el => {
121905
121907
  console.log(el);
121908
+ el.removeEventListener("input", this.#changeHandler);
121909
+ el.addEventListener("input", this.#changeHandler);
121906
121910
  });
121907
121911
 
121908
121912
  /**
package/dist/nx/_nxDiv.js CHANGED
@@ -95,15 +95,19 @@ export class nxDiv extends HTMLElement
95
95
  }
96
96
  }
97
97
 
98
+ #changeHandler = (e) => {
99
+ console.log(e);
100
+ }
98
101
 
99
102
  #init = () => {
100
103
 
101
- console.log(this);
102
- console.log(this.shadowRoot.querySelectorAll("input[name], textarea[name], select[name]"));
104
+ //console.log(this);
105
+ //console.log(this.querySelectorAll("input[name], textarea[name], select[name]"));
103
106
 
104
- ninegrid.querySelectorAll("input[name], textarea[name], select[name]", this.shadowRoot).forEach(el => {
105
- const key = el.name;
107
+ this.querySelectorAll("input[name], textarea[name], select[name]").forEach(el => {
106
108
  console.log(el);
109
+ el.removeEventListener("input", this.#changeHandler);
110
+ el.addEventListener("input", this.#changeHandler);
107
111
  });
108
112
 
109
113
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1182.0",
4
+ "version": "6.1184.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/src/nx/_nxDiv.js CHANGED
@@ -95,15 +95,19 @@ export class nxDiv extends HTMLElement
95
95
  }
96
96
  }
97
97
 
98
+ #changeHandler = (e) => {
99
+ console.log(e);
100
+ }
98
101
 
99
102
  #init = () => {
100
103
 
101
- console.log(this);
102
- console.log(this.shadowRoot.querySelectorAll("input[name], textarea[name], select[name]"));
104
+ //console.log(this);
105
+ //console.log(this.querySelectorAll("input[name], textarea[name], select[name]"));
103
106
 
104
- ninegrid.querySelectorAll("input[name], textarea[name], select[name]", this.shadowRoot).forEach(el => {
105
- const key = el.name;
107
+ this.querySelectorAll("input[name], textarea[name], select[name]").forEach(el => {
106
108
  console.log(el);
109
+ el.removeEventListener("input", this.#changeHandler);
110
+ el.addEventListener("input", this.#changeHandler);
107
111
  });
108
112
 
109
113
  /**