1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-02-21 09:42:29 +01:00

Fix angular resource typo (#3101)

* fixed typo in router outlets and added some content to router links

* syntax update

* Update content/roadmaps/104-angular/content/107-routing/102-router-links.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Yogesh Vernekar 2023-01-04 20:15:43 +05:30 committed by GitHub
parent f9938d5e0c
commit c5ca9f0373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -5,4 +5,4 @@ The router-outlet is a directive that's available from the @angular/router packa
Thanks to the router outlet, your app will have multiple views/pages and the app template acts like a shell of your application. Any element, you add to the shell will be rendered in each view, only the part marked by the router outlet will be changed between views.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Website' href='https://angular.io/api/router/RouterOutle'>Understanding Router Outlets</BadgeLink>
<BadgeLink colorScheme='blue' badgeText='Official Website' href='https://angular.io/api/router/RouterOutlet'>Understanding Router Outlets</BadgeLink>

View File

@ -1 +1,7 @@
# Router links
# Router links
In Angular, routerLink when applied to an element in a template, makes that element a link that initiates navigation to a route. Navigation opens one or more routed components in one or more <router-outlet> locations on the page.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='' href='https://angular.io/api/router/RouterLink'>Understanding Router Links</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.digitalocean.com/community/tutorials/angular-navigation-routerlink-navigate-navigatebyurl'>Angular Router: Navigation Using RouterLink, Navigate, or NavigateByUrl</BadgeLink>