Generic-link.component. ts implements ngOnChanges hook, an input parameter of type SimpleChanges, containing the values of beforeChange and afterChange:

The call stack that makes this change happen:

The node field requires consumer to be passed:

At navigation.com ponent. HTML can see consumption cx – navigation – UI to the node of the incoming parameters: node $| async:

The runtime effect is as follows:

Runtime single step debugging:

Get MyCompanyNavNode data:

When was the URL generated in the PopulateLink function?

The answer is sampledata defined in CMS -responsive Content. Impex of Spartacussampledata Addon:

This URL is read from the background sample Data to Spartacus through the API:

More of Jerry’s original articles can be found in “Wang Zixi” :