Skip to content

Commit

Permalink
fix(router): make routerLinkActiveOptions public (#10758)
Browse files Browse the repository at this point in the history
  • Loading branch information
robwormald authored and vikerman committed Aug 15, 2016
1 parent 398bbb6 commit 73c0a9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -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 => {
Expand Down
3 changes: 3 additions & 0 deletions tools/public_api_guard/router/index.d.ts
Expand Up @@ -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;
Expand Down

0 comments on commit 73c0a9d

Please sign in to comment.