RouterLinkWithHref

Stable

Directive

What it does

Lets you link to specific parts of your app.

See RouterLink for more information.

Class Overview

class RouterLinkWithHref implements OnChanges, OnDestroy {
constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy)

target : string
queryParams : {[k: string]: any}
fragment : string
queryParamsHandling : QueryParamsHandling
preserveFragment : boolean
skipLocationChange : boolean
replaceUrl : boolean
href : string
routerLink 
preserveQueryParams 
ngOnChanges(changes: {}) : any
ngOnDestroy() : any
onClick(button: number, ctrlKey: boolean, metaKey: boolean) : boolean
urlTree : UrlTree

}

Selectors

a[routerLink]

Class Description

Constructor

constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy)

Class Details

exported from router/index, defined in router/src/directives/router_link.ts