fix(router): opening links in new window

Shift-clicks on router-links should not prevent browser default action.

A follow on to:
1ac9dda93d
This commit is contained in:
Robert Spier
2017-05-25 17:52:55 -07:00
committed by Alex Rickabaugh
parent 35f714e438
commit 4c32cb952f
2 changed files with 4 additions and 4 deletions

View File

@ -337,7 +337,7 @@ export declare class RouterLinkWithHref implements OnChanges, OnDestroy {
constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy);
ngOnChanges(changes: {}): any;
ngOnDestroy(): any;
onClick(button: number, ctrlKey: boolean, metaKey: boolean): boolean;
onClick(button: number, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean): boolean;
}
/** @stable */