ninegrid2 6.345.0 → 6.346.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.
@@ -36,16 +36,19 @@ class aiMessage extends HTMLElement
36
36
  </div>
37
37
  `;
38
38
 
39
+ console.log(new Date());
39
40
  //this.#init();
40
41
  };
41
42
 
43
+ requestAnimationFrame = () => {
44
+ console.log(new Date());
45
+ this.#init(); // DOM이 완전히 그려진 후 실행
46
+ };
47
+
42
48
  initialize = (data) => {
43
49
  this.#data = data;
44
50
 
45
- setTimeout(() => {
46
- this.#init();
47
- }, 300);
48
-
51
+ //this.#init();
49
52
  }
50
53
 
51
54
  #init = () => {
@@ -27342,16 +27342,19 @@ class aiMessage extends HTMLElement
27342
27342
  </div>
27343
27343
  `;
27344
27344
 
27345
+ console.log(new Date());
27345
27346
  //this.#init();
27346
27347
  };
27347
27348
 
27349
+ requestAnimationFrame = () => {
27350
+ console.log(new Date());
27351
+ this.#init(); // DOM이 완전히 그려진 후 실행
27352
+ };
27353
+
27348
27354
  initialize = (data) => {
27349
27355
  this.#data = data;
27350
27356
 
27351
- setTimeout(() => {
27352
- this.#init();
27353
- }, 300);
27354
-
27357
+ //this.#init();
27355
27358
  }
27356
27359
 
27357
27360
  #init = () => {
@@ -27340,16 +27340,19 @@ class aiMessage extends HTMLElement
27340
27340
  </div>
27341
27341
  `;
27342
27342
 
27343
+ console.log(new Date());
27343
27344
  //this.#init();
27344
27345
  };
27345
27346
 
27347
+ requestAnimationFrame = () => {
27348
+ console.log(new Date());
27349
+ this.#init(); // DOM이 완전히 그려진 후 실행
27350
+ };
27351
+
27346
27352
  initialize = (data) => {
27347
27353
  this.#data = data;
27348
27354
 
27349
- setTimeout(() => {
27350
- this.#init();
27351
- }, 300);
27352
-
27355
+ //this.#init();
27353
27356
  }
27354
27357
 
27355
27358
  #init = () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.345.0",
4
+ "version": "6.346.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -36,16 +36,19 @@ class aiMessage extends HTMLElement
36
36
  </div>
37
37
  `;
38
38
 
39
+ console.log(new Date());
39
40
  //this.#init();
40
41
  };
41
42
 
43
+ requestAnimationFrame = () => {
44
+ console.log(new Date());
45
+ this.#init(); // DOM이 완전히 그려진 후 실행
46
+ };
47
+
42
48
  initialize = (data) => {
43
49
  this.#data = data;
44
50
 
45
- setTimeout(() => {
46
- this.#init();
47
- }, 300);
48
-
51
+ //this.#init();
49
52
  }
50
53
 
51
54
  #init = () => {