@salesforcedevs/docs-components 0.56.2-seo-test1 → 0.56.2-seo-test4
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
|
@@ -37,7 +37,7 @@ export default class AmfReference extends LightningElement {
|
|
|
37
37
|
@api tocOptions?: string;
|
|
38
38
|
@track navigation = [];
|
|
39
39
|
@track versions: Array<ReferenceVersion> = [];
|
|
40
|
-
@api expandChildren?:
|
|
40
|
+
@api expandChildren?: boolean = false;
|
|
41
41
|
|
|
42
42
|
// Update this to update what component gets rendered in the content block
|
|
43
43
|
@track
|
|
@@ -372,9 +372,6 @@ export default class AmfReference extends LightningElement {
|
|
|
372
372
|
}
|
|
373
373
|
isChildrenLoading = true;
|
|
374
374
|
} else {
|
|
375
|
-
if (this.isExpandChildrenEnabled(amfConfig.id)) {
|
|
376
|
-
this.expandChildTopics(amfConfig.topic);
|
|
377
|
-
}
|
|
378
375
|
navItemChildren = amfConfig.topic.children;
|
|
379
376
|
}
|
|
380
377
|
// store nav items for each spec in order
|
|
@@ -392,13 +389,6 @@ export default class AmfReference extends LightningElement {
|
|
|
392
389
|
this.navigation = navAmfOrder;
|
|
393
390
|
}
|
|
394
391
|
|
|
395
|
-
/**
|
|
396
|
-
* Expands each topic recursively.
|
|
397
|
-
*/
|
|
398
|
-
private expandChildTopics(topic: any): void {
|
|
399
|
-
console.log("empty", topic);
|
|
400
|
-
}
|
|
401
|
-
|
|
402
392
|
/**
|
|
403
393
|
* Returns a boolean indicating whether the children should be expanded or not.
|
|
404
394
|
*/
|