ninegrid2 6.653.0 → 6.655.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.
@@ -120119,6 +120119,13 @@ class nxSideMenu extends HTMLElement
120119
120119
  ninegrid.waitForInnerHTML(this)
120120
120120
  .then(() => this.#init())
120121
120121
  .catch(error => console.error(error));
120122
+
120123
+ const rawUrl = window.location.href; // 전체 URL
120124
+ const parsedUrl = new URL(rawUrl); // URL 객체로 파싱
120125
+ const cleanPath = parsedUrl.pathname; // 👉 경로만 추출
120126
+ console.log("=======================", cleanPath);
120127
+
120128
+ console.log(ninegrid.querySelectorAll("nx-side-menu-item"));
120122
120129
  };
120123
120130
 
120124
120131
  expand = () => {
@@ -120115,6 +120115,13 @@ class nxSideMenu extends HTMLElement
120115
120115
  ninegrid.waitForInnerHTML(this)
120116
120116
  .then(() => this.#init())
120117
120117
  .catch(error => console.error(error));
120118
+
120119
+ const rawUrl = window.location.href; // 전체 URL
120120
+ const parsedUrl = new URL(rawUrl); // URL 객체로 파싱
120121
+ const cleanPath = parsedUrl.pathname; // 👉 경로만 추출
120122
+ console.log("=======================", cleanPath);
120123
+
120124
+ console.log(ninegrid.querySelectorAll("nx-side-menu-item"));
120118
120125
  };
120119
120126
 
120120
120127
  expand = () => {
@@ -15,6 +15,13 @@ class nxSideMenu extends HTMLElement
15
15
  ninegrid.waitForInnerHTML(this)
16
16
  .then(() => this.#init())
17
17
  .catch(error => console.error(error));
18
+
19
+ const rawUrl = window.location.href; // 전체 URL
20
+ const parsedUrl = new URL(rawUrl); // URL 객체로 파싱
21
+ const cleanPath = parsedUrl.pathname; // 👉 경로만 추출
22
+ console.log("=======================", cleanPath);
23
+
24
+ console.log(ninegrid.querySelectorAll("nx-side-menu-item"));
18
25
  };
19
26
 
20
27
  expand = () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.653.0",
4
+ "version": "6.655.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -15,6 +15,13 @@ class nxSideMenu extends HTMLElement
15
15
  ninegrid.waitForInnerHTML(this)
16
16
  .then(() => this.#init())
17
17
  .catch(error => console.error(error));
18
+
19
+ const rawUrl = window.location.href; // 전체 URL
20
+ const parsedUrl = new URL(rawUrl); // URL 객체로 파싱
21
+ const cleanPath = parsedUrl.pathname; // 👉 경로만 추출
22
+ console.log("=======================", cleanPath);
23
+
24
+ console.log(ninegrid.querySelectorAll("nx-side-menu-item"));
18
25
  };
19
26
 
20
27
  expand = () => {