Mastering Angular: Using Router Navigation Extras to Access Info Attribute

The extras property of the navigation object contains additional information about the navigation, such as query parameters, fragment, and any custom data. Use getCurrentNavigation()?.extras to access the extras property of the navigation object returned by getCurrentNavigation(). You need to call the getCurrentNavigation() method inside of the constructor. Use the info attribute inside a link element … Continue reading Mastering Angular: Using Router Navigation Extras to Access Info Attribute