I have a base ClazzComponent, ClazzModule and ClazzRouting Module. The ClazzComponent is rendered through the primary <router-outlet> in my AppC ...
I have a base ClazzComponent, ClazzModule and ClazzRouting Module. The ClazzComponent is rendered through the primary <router-outlet> in my AppC ...
Suppose I have following routes: And I have some Navbar link with routerLinkActive class when on path a like this: The problem occurs when I'm n ...
I need do parent link. I did, but sure it correct. When I click routerLinkActive="router-class" , child and parent link can to get class "router-class ...
I'm trying to developp a sidebar of a documentation who it links to elements on th same page when I use the a tag I can navigate between each elem ...
I have a bottom navbar with icons. How can when the router-link has class 'active' it will turn into an active icon? Default icon 1 is active. ...
It’s all in the title, I’d like the first item of my menu to take the 'primary' style of angular material. Here is my code that works only when I clic ...
I have a side bar containing multiple sidebar items like this Side bar items have router links like this router config has linkExactActiveClass: ...
I want to set a class on a div when one of the routes inside that div is active. This works all fine with the routerLinkActive directive when I put li ...
Is there a way to do something like this: Img src should be depending on whether link is exact active or not. If active pic_active should show, if ...
Below web-link demonstrates the routerLinkActive id working when used as a boolean value for a distinct HTML element' [ngClass] https://stackblitz.com ...
Here is my problem-- I have created a navbar with RouterLink directive and I wanted my navigation link to be active to the current URL path so I am us ...
This is the current router setup and it works fine. this is a lazy loaded module under the path search so the url's become as follows... search/all s ...
I came across a wired problem where I have an angular material sidebar and in that I have buttons used for routing the applications let me put the cod ...
My Navbar contains 3 items: 2 times <li> with an <a> element and one dropdown btn-group. I want to highlight the dropdown toggle button wh ...
I am using devextreme data grid. I have the next code: Whenever I click on a row, it works as expected, but when keyboard navigation (up & down ...
I have some link like this You see here in params i have ?activeOnly=false with this approach all is ok when my url is like contracts?activeOnly=f ...
Building an Angular 4 app, but I would accept an answer that works with v5+ as well. I have a navbar composed of navigation buttons like this: I kn ...
The links below Works for me: But the link doesn't work for me: I want to know what's the problem with li and a combination? ...
I have a side bar which has multiple option in it.I set routerLinkActive class to make particular option active when click but now if I go deeper or o ...
I cannot make the active button (router-link tag) to light up. Here is my code: When I print out $route.path it returns the right path, and button ...