fix(router): make routerLinkActiveOptions public (#10758)

This commit is contained in:
Rob Wormald 2016-08-15 00:39:59 -07:00 committed by vikerman
parent 398bbb6aa9
commit 73c0a9daaf
2 changed files with 4 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export class RouterLinkActive implements OnChanges, OnDestroy, AfterContentInit
private classes: string[] = [];
private subscription: Subscription;
@Input() private routerLinkActiveOptions: {exact: boolean} = {exact: false};
@Input() routerLinkActiveOptions: {exact: boolean} = {exact: false};
constructor(private router: Router, private element: ElementRef, private renderer: Renderer) {
this.subscription = router.events.subscribe(s => {

View File

@ -210,6 +210,9 @@ export declare class RouterLinkActive implements OnChanges, OnDestroy, AfterCont
links: QueryList<RouterLink>;
linksWithHrefs: QueryList<RouterLinkWithHref>;
routerLinkActive: string[] | string;
routerLinkActiveOptions: {
exact: boolean;
};
constructor(router: Router, element: ElementRef, renderer: Renderer);
ngAfterContentInit(): void;
ngOnChanges(changes: {}): any;