docs(router): add api docs

This commit is contained in:
vsavkin
2016-06-28 14:49:29 -07:00
parent 0961bd1eff
commit 296a447e3c
12 changed files with 466 additions and 70 deletions

View File

@ -63,7 +63,7 @@ function containsSegmentHelper(
/**
* A URL in the tree form.
*
* @experimental
* @stable
*/
export class UrlTree {
/**
@ -76,6 +76,9 @@ export class UrlTree {
toString(): string { return new DefaultUrlSerializer().serialize(this); }
}
/**
* @stable
*/
export class UrlSegment {
/**
* @internal
@ -100,7 +103,7 @@ export class UrlSegment {
/**
* @experimental
* @stable
*/
export class UrlPathWithParams {
constructor(public path: string, public parameters: {[key: string]: string}) {}