publ-echo-test 0.0.278 → 0.0.280

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.
@@ -140,6 +140,7 @@ var GridItem = function (_a) {
140
140
  var mutation = mutationsList_2[_i];
141
141
  var isSizeChanged = mutation.attributeName === "data-min-width" ||
142
142
  mutation.attributeName === "data-min-height";
143
+ console.log("mutation", mutation);
143
144
  var keepWidth = true;
144
145
  var hasPaddingChanged = true;
145
146
  var insetTop = Number(mutation.target.dataset.insetTop);
@@ -246,9 +247,7 @@ var GridItem = function (_a) {
246
247
  // 관찰할 DOM 변이 설정
247
248
  var config = { attributes: true, characterData: true };
248
249
  // 대상 노드와 설정으로 관찰 시작
249
- setTimeout(function () {
250
- observer.observe(targetNode, config);
251
- }, 0);
250
+ observer.observe(targetNode, config);
252
251
  // 정리 함수에서 MutationObserver 해제
253
252
  return function () {
254
253
  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.278",
3
+ "version": "0.0.280",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",