@salesforcedevs/docs-components 1.3.325-rnbtab-alpha2 → 1.3.325-rnbtab-alpha3
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/package.json
CHANGED
|
@@ -42,7 +42,6 @@ export default class ContentLayout extends LightningElement {
|
|
|
42
42
|
@api language!: string;
|
|
43
43
|
@api bailHref!: string;
|
|
44
44
|
@api bailLabel!: string;
|
|
45
|
-
@track initialIndex: number = 0;
|
|
46
45
|
|
|
47
46
|
// This is needed for now to prevent failing snapshot tests due to links in the footer
|
|
48
47
|
@api showFooter = false;
|
|
@@ -444,16 +443,7 @@ export default class ContentLayout extends LightningElement {
|
|
|
444
443
|
}
|
|
445
444
|
};
|
|
446
445
|
|
|
447
|
-
onSlotChange(
|
|
448
|
-
const slot = e.target;
|
|
449
|
-
const child = slot.assignedElements();
|
|
450
|
-
const tabComponent = child.find(
|
|
451
|
-
(element: any) =>
|
|
452
|
-
element.tagName.toLowerCase() === "dx-tab-panel-list"
|
|
453
|
-
);
|
|
454
|
-
if (tabComponent) {
|
|
455
|
-
tabComponent.initialIndex = this.initialIndex; // Set the index value on the child component
|
|
456
|
-
}
|
|
446
|
+
onSlotChange(): void {
|
|
457
447
|
this.updateRNB();
|
|
458
448
|
}
|
|
459
449
|
|