ninegrid2 6.951.0 → 6.953.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 -5
- package/dist/bundle.esm.js +4 -5
- package/dist/nx/nxTitle.js +4 -5
- package/package.json +1 -1
- package/src/nx/nxTitle.js +4 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -121809,6 +121809,8 @@ class nxTitle extends HTMLElement {
|
|
|
121809
121809
|
caption: "Home",
|
|
121810
121810
|
});
|
|
121811
121811
|
|
|
121812
|
+
console.log(this.#dynamicPath);
|
|
121813
|
+
|
|
121812
121814
|
// 2. 동적으로 추가된 경로 (상세 페이지)
|
|
121813
121815
|
// #dynamicPath 배열의 내용을 병합
|
|
121814
121816
|
this.#breadcrumbPath = this.#breadcrumbPath.concat(this.#dynamicPath);
|
|
@@ -121874,11 +121876,8 @@ class nxTitle extends HTMLElement {
|
|
|
121874
121876
|
#menuClickHandler = (e) => {
|
|
121875
121877
|
console.log(e);
|
|
121876
121878
|
const path = e.target.dataset.path;
|
|
121877
|
-
if (path
|
|
121878
|
-
|
|
121879
|
-
console.log('1111');
|
|
121880
|
-
} else {
|
|
121881
|
-
console.log("222");
|
|
121879
|
+
if (path) {
|
|
121880
|
+
window.location.href = path;
|
|
121882
121881
|
}
|
|
121883
121882
|
}
|
|
121884
121883
|
}
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121805,6 +121805,8 @@ class nxTitle extends HTMLElement {
|
|
|
121805
121805
|
caption: "Home",
|
|
121806
121806
|
});
|
|
121807
121807
|
|
|
121808
|
+
console.log(this.#dynamicPath);
|
|
121809
|
+
|
|
121808
121810
|
// 2. 동적으로 추가된 경로 (상세 페이지)
|
|
121809
121811
|
// #dynamicPath 배열의 내용을 병합
|
|
121810
121812
|
this.#breadcrumbPath = this.#breadcrumbPath.concat(this.#dynamicPath);
|
|
@@ -121870,11 +121872,8 @@ class nxTitle extends HTMLElement {
|
|
|
121870
121872
|
#menuClickHandler = (e) => {
|
|
121871
121873
|
console.log(e);
|
|
121872
121874
|
const path = e.target.dataset.path;
|
|
121873
|
-
if (path
|
|
121874
|
-
|
|
121875
|
-
console.log('1111');
|
|
121876
|
-
} else {
|
|
121877
|
-
console.log("222");
|
|
121875
|
+
if (path) {
|
|
121876
|
+
window.location.href = path;
|
|
121878
121877
|
}
|
|
121879
121878
|
}
|
|
121880
121879
|
}
|
package/dist/nx/nxTitle.js
CHANGED
|
@@ -130,6 +130,8 @@ export class nxTitle extends HTMLElement {
|
|
|
130
130
|
caption: "Home",
|
|
131
131
|
});
|
|
132
132
|
|
|
133
|
+
console.log(this.#dynamicPath)
|
|
134
|
+
|
|
133
135
|
// 2. 동적으로 추가된 경로 (상세 페이지)
|
|
134
136
|
// #dynamicPath 배열의 내용을 병합
|
|
135
137
|
this.#breadcrumbPath = this.#breadcrumbPath.concat(this.#dynamicPath);
|
|
@@ -195,11 +197,8 @@ export class nxTitle extends HTMLElement {
|
|
|
195
197
|
#menuClickHandler = (e) => {
|
|
196
198
|
console.log(e);
|
|
197
199
|
const path = e.target.dataset.path;
|
|
198
|
-
if (path
|
|
199
|
-
|
|
200
|
-
console.log('1111');
|
|
201
|
-
} else {
|
|
202
|
-
console.log("222");
|
|
200
|
+
if (path) {
|
|
201
|
+
window.location.href = path;
|
|
203
202
|
}
|
|
204
203
|
}
|
|
205
204
|
}
|
package/package.json
CHANGED
package/src/nx/nxTitle.js
CHANGED
|
@@ -130,6 +130,8 @@ export class nxTitle extends HTMLElement {
|
|
|
130
130
|
caption: "Home",
|
|
131
131
|
});
|
|
132
132
|
|
|
133
|
+
console.log(this.#dynamicPath)
|
|
134
|
+
|
|
133
135
|
// 2. 동적으로 추가된 경로 (상세 페이지)
|
|
134
136
|
// #dynamicPath 배열의 내용을 병합
|
|
135
137
|
this.#breadcrumbPath = this.#breadcrumbPath.concat(this.#dynamicPath);
|
|
@@ -195,11 +197,8 @@ export class nxTitle extends HTMLElement {
|
|
|
195
197
|
#menuClickHandler = (e) => {
|
|
196
198
|
console.log(e);
|
|
197
199
|
const path = e.target.dataset.path;
|
|
198
|
-
if (path
|
|
199
|
-
|
|
200
|
-
console.log('1111');
|
|
201
|
-
} else {
|
|
202
|
-
console.log("222");
|
|
200
|
+
if (path) {
|
|
201
|
+
window.location.href = path;
|
|
203
202
|
}
|
|
204
203
|
}
|
|
205
204
|
}
|