RouterLinkWithHref

Stable Directive

What it does

Lets you link to specific parts of your app.

See RouterLink for more information.

Class Overview

class RouterLinkWithHref {
  constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy)
  
  
  target : string
  queryParams : {[k: string]: any}
  fragment : string
  routerLinkOptions : {preserveQueryParams: boolean, preserveFragment: boolean}
  preserveQueryParams : boolean
  preserveFragment : boolean
  href : string
  routerLink 
  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

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

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

doc_Angular
2016-10-06 09:46:58
Comments
Leave a Comment

Please login to continue.