ninegrid2 6.928.0 → 6.930.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 +14 -7
- package/dist/bundle.esm.js +14 -7
- package/dist/etc/nxSideMenu.js +14 -7
- package/package.json +1 -1
- package/src/etc/nxSideMenu.js +14 -7
package/dist/bundle.cjs.js
CHANGED
|
@@ -120516,15 +120516,22 @@ class nxSideMenuItem extends HTMLElement
|
|
|
120516
120516
|
}
|
|
120517
120517
|
|
|
120518
120518
|
connectedCallback() {
|
|
120519
|
-
this.#caption = this.innerText.trim();
|
|
120520
120519
|
|
|
120521
|
-
|
|
120522
|
-
|
|
120523
|
-
|
|
120520
|
+
requestAnimationFrame(() => {
|
|
120521
|
+
this.#caption = this.innerText.trim();
|
|
120522
|
+
|
|
120523
|
+
console.log("nxSideMenuItem", this.#caption);
|
|
120524
|
+
//this.data.caption = this.#caption;
|
|
120525
|
+
this.setAttribute("data-caption", this.innerText.trim());
|
|
120526
|
+
this.#init();
|
|
120527
|
+
|
|
120528
|
+
/**
|
|
120529
|
+
ninegrid.waitForInnerHTML(this)
|
|
120530
|
+
.then(() => this.#init())
|
|
120531
|
+
.catch(error => console.error(error));
|
|
120532
|
+
*/
|
|
120533
|
+
});
|
|
120524
120534
|
|
|
120525
|
-
ninegrid.waitForInnerHTML(this)
|
|
120526
|
-
.then(() => this.#init())
|
|
120527
|
-
.catch(error => console.error(error));
|
|
120528
120535
|
}
|
|
120529
120536
|
|
|
120530
120537
|
get caption() {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -120512,15 +120512,22 @@ class nxSideMenuItem extends HTMLElement
|
|
|
120512
120512
|
}
|
|
120513
120513
|
|
|
120514
120514
|
connectedCallback() {
|
|
120515
|
-
this.#caption = this.innerText.trim();
|
|
120516
120515
|
|
|
120517
|
-
|
|
120518
|
-
|
|
120519
|
-
|
|
120516
|
+
requestAnimationFrame(() => {
|
|
120517
|
+
this.#caption = this.innerText.trim();
|
|
120518
|
+
|
|
120519
|
+
console.log("nxSideMenuItem", this.#caption);
|
|
120520
|
+
//this.data.caption = this.#caption;
|
|
120521
|
+
this.setAttribute("data-caption", this.innerText.trim());
|
|
120522
|
+
this.#init();
|
|
120523
|
+
|
|
120524
|
+
/**
|
|
120525
|
+
ninegrid.waitForInnerHTML(this)
|
|
120526
|
+
.then(() => this.#init())
|
|
120527
|
+
.catch(error => console.error(error));
|
|
120528
|
+
*/
|
|
120529
|
+
});
|
|
120520
120530
|
|
|
120521
|
-
ninegrid.waitForInnerHTML(this)
|
|
120522
|
-
.then(() => this.#init())
|
|
120523
|
-
.catch(error => console.error(error));
|
|
120524
120531
|
}
|
|
120525
120532
|
|
|
120526
120533
|
get caption() {
|
package/dist/etc/nxSideMenu.js
CHANGED
|
@@ -364,15 +364,22 @@ class nxSideMenuItem extends HTMLElement
|
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
connectedCallback() {
|
|
367
|
-
this.#caption = this.innerText.trim();
|
|
368
367
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
368
|
+
requestAnimationFrame(() => {
|
|
369
|
+
this.#caption = this.innerText.trim();
|
|
370
|
+
|
|
371
|
+
console.log("nxSideMenuItem", this.#caption);
|
|
372
|
+
//this.data.caption = this.#caption;
|
|
373
|
+
this.setAttribute("data-caption", this.innerText.trim());
|
|
374
|
+
this.#init();
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
ninegrid.waitForInnerHTML(this)
|
|
378
|
+
.then(() => this.#init())
|
|
379
|
+
.catch(error => console.error(error));
|
|
380
|
+
*/
|
|
381
|
+
});
|
|
372
382
|
|
|
373
|
-
ninegrid.waitForInnerHTML(this)
|
|
374
|
-
.then(() => this.#init())
|
|
375
|
-
.catch(error => console.error(error));
|
|
376
383
|
}
|
|
377
384
|
|
|
378
385
|
get caption() {
|
package/package.json
CHANGED
package/src/etc/nxSideMenu.js
CHANGED
|
@@ -364,15 +364,22 @@ class nxSideMenuItem extends HTMLElement
|
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
connectedCallback() {
|
|
367
|
-
this.#caption = this.innerText.trim();
|
|
368
367
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
368
|
+
requestAnimationFrame(() => {
|
|
369
|
+
this.#caption = this.innerText.trim();
|
|
370
|
+
|
|
371
|
+
console.log("nxSideMenuItem", this.#caption);
|
|
372
|
+
//this.data.caption = this.#caption;
|
|
373
|
+
this.setAttribute("data-caption", this.innerText.trim());
|
|
374
|
+
this.#init();
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
ninegrid.waitForInnerHTML(this)
|
|
378
|
+
.then(() => this.#init())
|
|
379
|
+
.catch(error => console.error(error));
|
|
380
|
+
*/
|
|
381
|
+
});
|
|
372
382
|
|
|
373
|
-
ninegrid.waitForInnerHTML(this)
|
|
374
|
-
.then(() => this.#init())
|
|
375
|
-
.catch(error => console.error(error));
|
|
376
383
|
}
|
|
377
384
|
|
|
378
385
|
get caption() {
|