publ-echo-test 0.0.189 → 0.0.190
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.
@@ -94,6 +94,7 @@ var GridItem = function (_a) {
|
|
94
94
|
h_1 = prevH;
|
95
95
|
}
|
96
96
|
var _b = getResizableXYPosition('e', w_1, h_1, prevW, prevH), newX = _b.newX, newY = _b.newY;
|
97
|
+
console.log(mutation);
|
97
98
|
if (!isCharacterChanged) {
|
98
99
|
return;
|
99
100
|
}
|
@@ -107,7 +108,12 @@ var GridItem = function (_a) {
|
|
107
108
|
// MutationObserver 인스턴스 생성
|
108
109
|
var observer = new MutationObserver(callback);
|
109
110
|
// 관찰할 DOM 변이 설정
|
110
|
-
var config = {
|
111
|
+
var config = {
|
112
|
+
characterData: true,
|
113
|
+
attributes: true,
|
114
|
+
subtree: true,
|
115
|
+
attributeOldValue: true,
|
116
|
+
};
|
111
117
|
// 대상 노드와 설정으로 관찰 시작
|
112
118
|
observer.observe(targetNode, config);
|
113
119
|
// 정리 함수에서 MutationObserver 해제
|