angular-routerlink Questions
4
Solved
I am trying to apply or highlight navigation routes for my menu bar with below code, what i could get is, i could able to highlight the submenu, but could not able to highlight the parent menu bar....
Somatology asked 9/4, 2019 at 8:10
5
Solved
I have simple navigation in angular 6 app,
Here is HTML
<nav class="main-nav>
<ul class="main-nav__list " ng-sticky [addClass]="'main-sticky-link'" [ngClass]="ref.click === true? 'Navba...
Russia asked 26/8, 2018 at 17:42
2
Solved
I am trying to redirect within the page, using a fragment in an anchor tag. It works fine the first time but when I scroll the page up manually and press the anchor link again it doesn't work.
<...
Ardrey asked 26/4, 2020 at 19:18
4
Solved
I'm using routerLink to go back in my page.
Current route can have 3 levels:
myurl.com/parent
myurl.com/parent/child
myurl.com/parent/child/grandchild
also, I have some differents components, s...
Meisel asked 11/7, 2018 at 14:47
5
I am struggling with Angular framework to get my application run smoothly, but I can't resolve an issue with routing.
I have a top level AppComponent and app-routing.module.ts which manage the nav...
Contingent asked 3/11, 2018 at 17:0
6
I do not have only one menu bar on my app that I need to be painted when the user navigates, I have another components too that needs to be painted as well. Can I achieve this just using routerLink...
Goodsized asked 5/6, 2017 at 19:49
4
Solved
What is the difference between [routerLink] and routerLink ? How should you use each one?
Odonnell asked 28/12, 2016 at 22:42
2
Solved
I am new in Angular testing and at the moment I am trying to test this piece of code but I'm getting an error concerning the event raised on the DOM:
<li class="list-group-item" *ngFor="let use...
Risa asked 15/10, 2019 at 15:5
2
In the past two days i've been diggin through the internetz about scrolling a fragment into view with angular.
Let's say we have a static webpage with a bunch of id-s that act as fragments. And ha...
Magnate asked 7/2, 2019 at 13:56
3
I have developed the Angular 8 application and I am using the routerLink to navigate the components which work fine without any issue but when I enter the same URL directly in the browser it doesn'...
Somite asked 15/8, 2019 at 14:27
6
Solved
I've defined my routes like this:
const routes: Routes = [
{ path: '', loadChildren: './tabs/tabs.module#TabsPageModule' },
{ path: 'faq', loadChildren: './faq/faq.module#FaqPageModule' },
{ p...
Boxwood asked 8/11, 2018 at 12:56
0
How can I use routerLinkActive with click event and without routerLink?
I read somewhere that using click and routerLink together is not a good practice. I want to set an active class when I click ...
Koto asked 10/9, 2018 at 0:8
2
Solved
I want to create a link to the route with multiple parameters and bind them in tempalte. Until now, I've been doing this by executing the function on (click) event, but I was wondering if it's poss...
Anneal asked 22/9, 2016 at 18:31
1
Solved
I want to have route something like this : www.test.com?procesId=12 .
This is my current routerLink:
But right now i get this value :
www.test.com/123
Any suggestion how can i add in url ?...
Lung asked 20/7, 2017 at 7:21
5
Solved
I'm trying to create an application with angular 2,And Want pass params to tag a in [routerLink],i want craete a link like this :
<a href="/auth/signup?cell=1654654654"></a>
i dont k...
Shanna asked 29/5, 2016 at 6:37
1
© 2022 - 2024 — McMap. All rights reserved.