In this lecture, we are going to style the currently active link by setting a CSS class dynamically for the active link. To do that, we can use routerLinkActive directive on the anchor elements and to that we can assign one or more CSS class.
In this lecture you will learn:
1. What is routerLinkActive directive?
2. How to use routerLinkActive directive to style active link.
DOWNLOAD SECTION SOURCE CODE HERE: drive.google.c...
29 окт 2024