ninegrid2 6.704.0 → 6.706.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 +8 -1
- package/dist/bundle.esm.js +8 -1
- package/dist/nx/nxSplitter.js +8 -1
- package/package.json +1 -1
- package/src/nx/nxSplitter.js +8 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -121130,7 +121130,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121130
121130
|
|
|
121131
121131
|
const onUp = (e) => {
|
|
121132
121132
|
window.removeEventListener("mousemove", onMove);
|
|
121133
|
-
window.removeEventListener("mouseup",
|
|
121133
|
+
window.removeEventListener("mouseup", onUp);
|
|
121134
121134
|
dragBar.remove();
|
|
121135
121135
|
|
|
121136
121136
|
const prev = this.previousElementSibling;
|
|
@@ -121149,6 +121149,13 @@ class nxSplitter extends HTMLElement {
|
|
|
121149
121149
|
? e.clientX - prev.getBoundingClientRect().left
|
|
121150
121150
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
121151
121151
|
|
|
121152
|
+
console.log(totalSize, delta);
|
|
121153
|
+
/**
|
|
121154
|
+
100/10/90
|
|
121155
|
+
totalSize = 190;
|
|
121156
|
+
delta = 50;
|
|
121157
|
+
*/
|
|
121158
|
+
|
|
121152
121159
|
// 📌 사이즈 적용
|
|
121153
121160
|
if (this.#mode === "h") {
|
|
121154
121161
|
prev.style.width = `${delta}px`;
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121126,7 +121126,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121126
121126
|
|
|
121127
121127
|
const onUp = (e) => {
|
|
121128
121128
|
window.removeEventListener("mousemove", onMove);
|
|
121129
|
-
window.removeEventListener("mouseup",
|
|
121129
|
+
window.removeEventListener("mouseup", onUp);
|
|
121130
121130
|
dragBar.remove();
|
|
121131
121131
|
|
|
121132
121132
|
const prev = this.previousElementSibling;
|
|
@@ -121145,6 +121145,13 @@ class nxSplitter extends HTMLElement {
|
|
|
121145
121145
|
? e.clientX - prev.getBoundingClientRect().left
|
|
121146
121146
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
121147
121147
|
|
|
121148
|
+
console.log(totalSize, delta);
|
|
121149
|
+
/**
|
|
121150
|
+
100/10/90
|
|
121151
|
+
totalSize = 190;
|
|
121152
|
+
delta = 50;
|
|
121153
|
+
*/
|
|
121154
|
+
|
|
121148
121155
|
// 📌 사이즈 적용
|
|
121149
121156
|
if (this.#mode === "h") {
|
|
121150
121157
|
prev.style.width = `${delta}px`;
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -85,7 +85,7 @@ class nxSplitter extends HTMLElement {
|
|
|
85
85
|
|
|
86
86
|
const onUp = (e) => {
|
|
87
87
|
window.removeEventListener("mousemove", onMove);
|
|
88
|
-
window.removeEventListener("mouseup",
|
|
88
|
+
window.removeEventListener("mouseup", onUp);
|
|
89
89
|
dragBar.remove();
|
|
90
90
|
|
|
91
91
|
const prev = this.previousElementSibling;
|
|
@@ -104,6 +104,13 @@ class nxSplitter extends HTMLElement {
|
|
|
104
104
|
? e.clientX - prev.getBoundingClientRect().left
|
|
105
105
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
106
106
|
|
|
107
|
+
console.log(totalSize, delta);
|
|
108
|
+
/**
|
|
109
|
+
100/10/90
|
|
110
|
+
totalSize = 190;
|
|
111
|
+
delta = 50;
|
|
112
|
+
*/
|
|
113
|
+
|
|
107
114
|
// 📌 사이즈 적용
|
|
108
115
|
if (this.#mode === "h") {
|
|
109
116
|
prev.style.width = `${delta}px`;
|
package/package.json
CHANGED
package/src/nx/nxSplitter.js
CHANGED
|
@@ -85,7 +85,7 @@ class nxSplitter extends HTMLElement {
|
|
|
85
85
|
|
|
86
86
|
const onUp = (e) => {
|
|
87
87
|
window.removeEventListener("mousemove", onMove);
|
|
88
|
-
window.removeEventListener("mouseup",
|
|
88
|
+
window.removeEventListener("mouseup", onUp);
|
|
89
89
|
dragBar.remove();
|
|
90
90
|
|
|
91
91
|
const prev = this.previousElementSibling;
|
|
@@ -104,6 +104,13 @@ class nxSplitter extends HTMLElement {
|
|
|
104
104
|
? e.clientX - prev.getBoundingClientRect().left
|
|
105
105
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
106
106
|
|
|
107
|
+
console.log(totalSize, delta);
|
|
108
|
+
/**
|
|
109
|
+
100/10/90
|
|
110
|
+
totalSize = 190;
|
|
111
|
+
delta = 50;
|
|
112
|
+
*/
|
|
113
|
+
|
|
107
114
|
// 📌 사이즈 적용
|
|
108
115
|
if (this.#mode === "h") {
|
|
109
116
|
prev.style.width = `${delta}px`;
|