ninegrid2 6.860.0 → 6.862.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.
- package/dist/bundle.cjs.js +4 -0
- package/dist/bundle.esm.js +4 -0
- package/dist/nx/nxSplitter.js +4 -0
- package/package.json +1 -1
- package/src/nx/nxSplitter.js +4 -0
package/dist/bundle.cjs.js
CHANGED
|
@@ -121262,6 +121262,8 @@ class nxSplitter extends HTMLElement {
|
|
|
121262
121262
|
} else {
|
|
121263
121263
|
dragBar.style.top = `${clampedPos}px`;
|
|
121264
121264
|
}
|
|
121265
|
+
|
|
121266
|
+
console.log(clampedPos);
|
|
121265
121267
|
};
|
|
121266
121268
|
|
|
121267
121269
|
const onUp = (upEvent) => {
|
|
@@ -121295,6 +121297,8 @@ class nxSplitter extends HTMLElement {
|
|
|
121295
121297
|
prev.style.flex = "none";
|
|
121296
121298
|
next.style.flex = "none";
|
|
121297
121299
|
|
|
121300
|
+
console.log(finalPrevSize, finalNextSize);
|
|
121301
|
+
|
|
121298
121302
|
if (isHorizontal) {
|
|
121299
121303
|
prev.style.width = `${finalPrevSize}px`;
|
|
121300
121304
|
next.style.width = `${finalNextSize}px`;
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121258,6 +121258,8 @@ class nxSplitter extends HTMLElement {
|
|
|
121258
121258
|
} else {
|
|
121259
121259
|
dragBar.style.top = `${clampedPos}px`;
|
|
121260
121260
|
}
|
|
121261
|
+
|
|
121262
|
+
console.log(clampedPos);
|
|
121261
121263
|
};
|
|
121262
121264
|
|
|
121263
121265
|
const onUp = (upEvent) => {
|
|
@@ -121291,6 +121293,8 @@ class nxSplitter extends HTMLElement {
|
|
|
121291
121293
|
prev.style.flex = "none";
|
|
121292
121294
|
next.style.flex = "none";
|
|
121293
121295
|
|
|
121296
|
+
console.log(finalPrevSize, finalNextSize);
|
|
121297
|
+
|
|
121294
121298
|
if (isHorizontal) {
|
|
121295
121299
|
prev.style.width = `${finalPrevSize}px`;
|
|
121296
121300
|
next.style.width = `${finalNextSize}px`;
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -117,6 +117,8 @@ class nxSplitter extends HTMLElement {
|
|
|
117
117
|
} else {
|
|
118
118
|
dragBar.style.top = `${clampedPos}px`;
|
|
119
119
|
}
|
|
120
|
+
|
|
121
|
+
console.log(clampedPos);
|
|
120
122
|
};
|
|
121
123
|
|
|
122
124
|
const onUp = (upEvent) => {
|
|
@@ -150,6 +152,8 @@ class nxSplitter extends HTMLElement {
|
|
|
150
152
|
prev.style.flex = "none";
|
|
151
153
|
next.style.flex = "none";
|
|
152
154
|
|
|
155
|
+
console.log(finalPrevSize, finalNextSize);
|
|
156
|
+
|
|
153
157
|
if (isHorizontal) {
|
|
154
158
|
prev.style.width = `${finalPrevSize}px`;
|
|
155
159
|
next.style.width = `${finalNextSize}px`;
|
package/package.json
CHANGED
package/src/nx/nxSplitter.js
CHANGED
|
@@ -117,6 +117,8 @@ class nxSplitter extends HTMLElement {
|
|
|
117
117
|
} else {
|
|
118
118
|
dragBar.style.top = `${clampedPos}px`;
|
|
119
119
|
}
|
|
120
|
+
|
|
121
|
+
console.log(clampedPos);
|
|
120
122
|
};
|
|
121
123
|
|
|
122
124
|
const onUp = (upEvent) => {
|
|
@@ -150,6 +152,8 @@ class nxSplitter extends HTMLElement {
|
|
|
150
152
|
prev.style.flex = "none";
|
|
151
153
|
next.style.flex = "none";
|
|
152
154
|
|
|
155
|
+
console.log(finalPrevSize, finalNextSize);
|
|
156
|
+
|
|
153
157
|
if (isHorizontal) {
|
|
154
158
|
prev.style.width = `${finalPrevSize}px`;
|
|
155
159
|
next.style.width = `${finalNextSize}px`;
|