@angular/router

RouterLink

directive

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.

  
    class RouterLink implements OnChanges ,OnDestroy {}
  
  
Jump to details