publ-echo-test 0.0.293 → 0.0.294

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.
@@ -138,6 +138,7 @@ var GridItem = function (_a) {
138
138
  var callback = function (mutationsList) {
139
139
  for (var _i = 0, mutationsList_2 = mutationsList; _i < mutationsList_2.length; _i++) {
140
140
  var mutation = mutationsList_2[_i];
141
+ console.log("mutation", mutation);
141
142
  var isInitial = mutation.attributeName === "data-is-initialized" &&
142
143
  mutation.target.getAttribute("data-is-initialized") === "true";
143
144
  console.log("isInitial", isInitial);
@@ -263,7 +264,9 @@ var GridItem = function (_a) {
263
264
  var config = { attributes: true, characterData: true };
264
265
  // 대상 노드와 설정으로 관찰 시작
265
266
  observer.observe(targetNode, config);
266
- targetNode.setAttribute("data-is-initialized", "true");
267
+ setTimeout(function () {
268
+ targetNode.setAttribute("data-is-initialized", "true");
269
+ }, 100);
267
270
  // 정리 함수에서 MutationObserver 해제
268
271
  return function () {
269
272
  if (targetNode.id !== "contentslist-box") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.293",
3
+ "version": "0.0.294",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",