RouterLinkWithHref
Stable Directive
Что делает
Позволяет создавать ссылки на конкретные части вашего приложения.
См. RouterLink для получения дополнительной информации.
Обзор класса
class RouterLinkWithHref implements OnChanges, OnDestroy {
constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy)
target : string
queryParams : {[k: string]: any}
fragment : string
preserveQueryParams : boolean
preserveFragment : boolean
skipLocationChange : boolean
replaceUrl : boolean
href : string
routerLink
ngOnChanges(changes: {}) : any
ngOnDestroy() : any
onClick(button: number, ctrlKey: boolean, metaKey: boolean) : boolean
urlTree : UrlTree
}
Селекторы
a[routerLink]
Описание класса
Конструктор
constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy)
Подробности класса
target : string
queryParams : {[k: string]: any}
fragment : string
preserveQueryParams : boolean
preserveFragment : boolean
skipLocationChange : boolean
replaceUrl : boolean
href : string
routerLink
ngOnChanges(changes: {}) : any
ngOnDestroy() : any
onClick(button: number, ctrlKey: boolean, metaKey: boolean) : boolean
urlTree : UrlTree
экспортировано из @angular/router/index, определено в @angular/router/src/directives/router_link.ts
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/router/index/RouterLinkWithHref-directive.html