If an ExpansionPanelTree has an empty childList, it will not be a "mat-expansion-pannel" but a mat-toolbar. This toolbar will contain a <a> with all the routerLink inputs (cf. references bellow).
The ExpansionPanelTree data come from an NgRx selector which use an IndexTree selector and a CurrentLang selector.
There will be one findRequest for each part of the tree that is synced (when an ExpansionPanelTree is expanded, it will reveal its childList, triggering new findRequests, one for each of the "future" childList. This will allow to have no latency in the user experience, as a childList will be loaded/synced ahead of time : before the user want to see it.
Enhancement
Metadata
Description
expansion-panel
expansion-panel
needs a tree as input, which signature is:ExpansionPanelTree
has an emptychildList
, it will not be a "mat-expansion-pannel" but amat-toolbar
. This toolbar will contain a<a>
with all therouterLink
inputs (cf. references bellow).ExpansionPanelTree
data come from an NgRx selector which use anIndexTree
selector and aCurrentLang
selector.findRequest
for each part of the tree that is synced (when anExpansionPanelTree
is expanded, it will reveal itschildList
, triggering newfindRequest
s, one for each of the "future"childList
. This will allow to have no latency in the user experience, as achildList
will be loaded/synced ahead of time : before the user want to see it.Reference(s)