ninegrid2 6.675.0 → 6.676.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.
@@ -121082,7 +121082,7 @@ class nxSplitter extends HTMLElement {
121082
121082
  });
121083
121083
 
121084
121084
  // 방향별 위치 설정
121085
- if (mode === "h") {
121085
+ if (this.#mode === "h") {
121086
121086
  dragBar.style.top = "0";
121087
121087
  dragBar.style.left = `${e.offsetX}px`;
121088
121088
  dragBar.style.width = "1px";
@@ -121106,7 +121106,7 @@ class nxSplitter extends HTMLElement {
121106
121106
  const onUp = () => {
121107
121107
  window.removeEventListener("mousemove", onMove);
121108
121108
  window.removeEventListener("mouseup", onUp);
121109
- //dragBar.remove();
121109
+ dragBar.remove();
121110
121110
  };
121111
121111
 
121112
121112
  window.addEventListener("mousemove", onMove);
@@ -121078,7 +121078,7 @@ class nxSplitter extends HTMLElement {
121078
121078
  });
121079
121079
 
121080
121080
  // 방향별 위치 설정
121081
- if (mode === "h") {
121081
+ if (this.#mode === "h") {
121082
121082
  dragBar.style.top = "0";
121083
121083
  dragBar.style.left = `${e.offsetX}px`;
121084
121084
  dragBar.style.width = "1px";
@@ -121102,7 +121102,7 @@ class nxSplitter extends HTMLElement {
121102
121102
  const onUp = () => {
121103
121103
  window.removeEventListener("mousemove", onMove);
121104
121104
  window.removeEventListener("mouseup", onUp);
121105
- //dragBar.remove();
121105
+ dragBar.remove();
121106
121106
  };
121107
121107
 
121108
121108
  window.addEventListener("mousemove", onMove);
@@ -37,7 +37,7 @@ class nxSplitter extends HTMLElement {
37
37
  });
38
38
 
39
39
  // 방향별 위치 설정
40
- if (mode === "h") {
40
+ if (this.#mode === "h") {
41
41
  dragBar.style.top = "0";
42
42
  dragBar.style.left = `${e.offsetX}px`;
43
43
  dragBar.style.width = "1px";
@@ -61,7 +61,7 @@ class nxSplitter extends HTMLElement {
61
61
  const onUp = () => {
62
62
  window.removeEventListener("mousemove", onMove);
63
63
  window.removeEventListener("mouseup", onUp);
64
- //dragBar.remove();
64
+ dragBar.remove();
65
65
  };
66
66
 
67
67
  window.addEventListener("mousemove", onMove);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.675.0",
4
+ "version": "6.676.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -37,7 +37,7 @@ class nxSplitter extends HTMLElement {
37
37
  });
38
38
 
39
39
  // 방향별 위치 설정
40
- if (mode === "h") {
40
+ if (this.#mode === "h") {
41
41
  dragBar.style.top = "0";
42
42
  dragBar.style.left = `${e.offsetX}px`;
43
43
  dragBar.style.width = "1px";
@@ -61,7 +61,7 @@ class nxSplitter extends HTMLElement {
61
61
  const onUp = () => {
62
62
  window.removeEventListener("mousemove", onMove);
63
63
  window.removeEventListener("mouseup", onUp);
64
- //dragBar.remove();
64
+ dragBar.remove();
65
65
  };
66
66
 
67
67
  window.addEventListener("mousemove", onMove);