ninegrid2 6.1126.0 → 6.1127.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.
@@ -122020,14 +122020,15 @@ class nxDiv extends HTMLElement
122020
122020
 
122021
122021
  connectedCallback() {
122022
122022
  if (!this.isInitialized) {
122023
- this.#init();
122023
+ //this.#init();
122024
122024
  this.isInitialized = true; // 3. 초기화 후 플래그를 true로 변경합니다.
122025
122025
  }
122026
122026
  }
122027
122027
 
122028
+ /**
122028
122029
  #init = () => {
122029
122030
  console.log("super.connectedCallback");
122030
- };
122031
+ }; */
122031
122032
  }
122032
122033
 
122033
122034
  class nxButtons extends nxDiv {
@@ -122039,17 +122040,14 @@ class nxButtons extends nxDiv {
122039
122040
  }
122040
122041
 
122041
122042
  connectedCallback() {
122042
- super.connectedCallback();
122043
122043
 
122044
122044
  console.log("==========", super.isInitialized);
122045
122045
  // 2. 초기화되지 않았을 때만 #init 함수를 호출합니다.
122046
- //if (!this.#isInitialized) {
122047
- //this.#init();
122048
- //this.#isInitialized = true; // 3. 초기화 후 플래그를 true로 변경합니다.
122046
+ if (super.isInitialized) return;
122049
122047
 
122050
-
122051
- //}
122052
- }
122048
+ this.#init();
122049
+ super.connectedCallback();
122050
+ };
122053
122051
 
122054
122052
  #init = () => {
122055
122053
  const contents = this.innerHTML.trim();
@@ -122016,14 +122016,15 @@ class nxDiv extends HTMLElement
122016
122016
 
122017
122017
  connectedCallback() {
122018
122018
  if (!this.isInitialized) {
122019
- this.#init();
122019
+ //this.#init();
122020
122020
  this.isInitialized = true; // 3. 초기화 후 플래그를 true로 변경합니다.
122021
122021
  }
122022
122022
  }
122023
122023
 
122024
+ /**
122024
122025
  #init = () => {
122025
122026
  console.log("super.connectedCallback");
122026
- };
122027
+ }; */
122027
122028
  }
122028
122029
 
122029
122030
  class nxButtons extends nxDiv {
@@ -122035,17 +122036,14 @@ class nxButtons extends nxDiv {
122035
122036
  }
122036
122037
 
122037
122038
  connectedCallback() {
122038
- super.connectedCallback();
122039
122039
 
122040
122040
  console.log("==========", super.isInitialized);
122041
122041
  // 2. 초기화되지 않았을 때만 #init 함수를 호출합니다.
122042
- //if (!this.#isInitialized) {
122043
- //this.#init();
122044
- //this.#isInitialized = true; // 3. 초기화 후 플래그를 true로 변경합니다.
122042
+ if (super.isInitialized) return;
122045
122043
 
122046
-
122047
- //}
122048
- }
122044
+ this.#init();
122045
+ super.connectedCallback();
122046
+ };
122049
122047
 
122050
122048
  #init = () => {
122051
122049
  const contents = this.innerHTML.trim();
package/dist/nx/_nxDiv.js CHANGED
@@ -11,12 +11,13 @@ export class nxDiv extends HTMLElement
11
11
 
12
12
  connectedCallback() {
13
13
  if (!this.isInitialized) {
14
- this.#init();
14
+ //this.#init();
15
15
  this.isInitialized = true; // 3. 초기화 후 플래그를 true로 변경합니다.
16
16
  }
17
17
  }
18
18
 
19
+ /**
19
20
  #init = () => {
20
21
  console.log("super.connectedCallback");
21
- };
22
+ }; */
22
23
  }
@@ -10,17 +10,14 @@ class nxButtons extends nxDiv {
10
10
  }
11
11
 
12
12
  connectedCallback() {
13
- super.connectedCallback();
14
13
 
15
14
  console.log("==========", super.isInitialized);
16
15
  // 2. 초기화되지 않았을 때만 #init 함수를 호출합니다.
17
- //if (!this.#isInitialized) {
18
- //this.#init();
19
- //this.#isInitialized = true; // 3. 초기화 후 플래그를 true로 변경합니다.
20
-
16
+ if (super.isInitialized) return;
21
17
 
22
- //}
23
- }
18
+ this.#init();
19
+ super.connectedCallback();
20
+ };
24
21
 
25
22
  #init = () => {
26
23
  const contents = this.innerHTML.trim();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1126.0",
4
+ "version": "6.1127.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/src/nx/_nxDiv.js CHANGED
@@ -11,12 +11,13 @@ export class nxDiv extends HTMLElement
11
11
 
12
12
  connectedCallback() {
13
13
  if (!this.isInitialized) {
14
- this.#init();
14
+ //this.#init();
15
15
  this.isInitialized = true; // 3. 초기화 후 플래그를 true로 변경합니다.
16
16
  }
17
17
  }
18
18
 
19
+ /**
19
20
  #init = () => {
20
21
  console.log("super.connectedCallback");
21
- };
22
+ }; */
22
23
  }
@@ -10,17 +10,14 @@ class nxButtons extends nxDiv {
10
10
  }
11
11
 
12
12
  connectedCallback() {
13
- super.connectedCallback();
14
13
 
15
14
  console.log("==========", super.isInitialized);
16
15
  // 2. 초기화되지 않았을 때만 #init 함수를 호출합니다.
17
- //if (!this.#isInitialized) {
18
- //this.#init();
19
- //this.#isInitialized = true; // 3. 초기화 후 플래그를 true로 변경합니다.
20
-
16
+ if (super.isInitialized) return;
21
17
 
22
- //}
23
- }
18
+ this.#init();
19
+ super.connectedCallback();
20
+ };
24
21
 
25
22
  #init = () => {
26
23
  const contents = this.innerHTML.trim();