refactor(router): renames PRIMARY_OUTLET into primary

This commit is contained in:
vsavkin
2016-07-22 13:25:48 -07:00
parent 41178367d1
commit 93a4ca652a
5 changed files with 22 additions and 7 deletions

View File

@ -60,6 +60,13 @@ import {UrlTree} from '../url_tree';
component</a>
* ```
*
* The router link directive always treats it the provided input as a delta to the current url.
*
* For instance, if the current url is `/user/(box//aux:team)`.
*
* Then the following link `<a [routerLink]="['/user/jim']">Jim</a>` will generate the link
* `/user/(jim//aux:team)`. See {@link Router.createUrlTree} for more information.
*
* @stable
*/
@Directive({selector: ':not(a)[routerLink]'})