ninegrid2 6.960.0 → 6.962.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,7 +121898,7 @@ class NxLayout extends HTMLElement {
121898
121898
 
121899
121899
  attributeChangedCallback(name, oldValue, newValue) {
121900
121900
  // 속성이 변경되면 레이아웃을 다시 렌더링합니다.
121901
- this.#render();
121901
+ //this.#render();
121902
121902
  }
121903
121903
 
121904
121904
  static get observedAttributes() {
@@ -121913,6 +121913,8 @@ class NxLayout extends HTMLElement {
121913
121913
  const numRows = parseInt(this.getAttribute('rows'), 1);
121914
121914
  const children = Array.from(this.children);
121915
121915
 
121916
+ if (children.length <= 0) return;
121917
+
121916
121918
  console.log(children);
121917
121919
 
121918
121920
  this.innerHTML = '';
@@ -121894,7 +121894,7 @@ class NxLayout extends HTMLElement {
121894
121894
 
121895
121895
  attributeChangedCallback(name, oldValue, newValue) {
121896
121896
  // 속성이 변경되면 레이아웃을 다시 렌더링합니다.
121897
- this.#render();
121897
+ //this.#render();
121898
121898
  }
121899
121899
 
121900
121900
  static get observedAttributes() {
@@ -121909,6 +121909,8 @@ class NxLayout extends HTMLElement {
121909
121909
  const numRows = parseInt(this.getAttribute('rows'), 1);
121910
121910
  const children = Array.from(this.children);
121911
121911
 
121912
+ if (children.length <= 0) return;
121913
+
121912
121914
  console.log(children);
121913
121915
 
121914
121916
  this.innerHTML = '';
@@ -7,7 +7,7 @@ class NxLayout extends HTMLElement {
7
7
 
8
8
  attributeChangedCallback(name, oldValue, newValue) {
9
9
  // 속성이 변경되면 레이아웃을 다시 렌더링합니다.
10
- this.#render();
10
+ //this.#render();
11
11
  }
12
12
 
13
13
  static get observedAttributes() {
@@ -22,6 +22,8 @@ class NxLayout extends HTMLElement {
22
22
  const numRows = parseInt(this.getAttribute('rows'), 1);
23
23
  const children = Array.from(this.children);
24
24
 
25
+ if (children.length <= 0) return;
26
+
25
27
  console.log(children);
26
28
 
27
29
  this.innerHTML = '';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.960.0",
4
+ "version": "6.962.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -7,7 +7,7 @@ class NxLayout extends HTMLElement {
7
7
 
8
8
  attributeChangedCallback(name, oldValue, newValue) {
9
9
  // 속성이 변경되면 레이아웃을 다시 렌더링합니다.
10
- this.#render();
10
+ //this.#render();
11
11
  }
12
12
 
13
13
  static get observedAttributes() {
@@ -22,6 +22,8 @@ class NxLayout extends HTMLElement {
22
22
  const numRows = parseInt(this.getAttribute('rows'), 1);
23
23
  const children = Array.from(this.children);
24
24
 
25
+ if (children.length <= 0) return;
26
+
25
27
  console.log(children);
26
28
 
27
29
  this.innerHTML = '';