docs(router): move examples to @usageNotes (#26039)

PR Close #26039
This commit is contained in:
Pete Bacon Darwin
2018-09-20 14:50:32 +01:00
committed by Kara Erickson
parent fef9cebed0
commit ff028f0b39
6 changed files with 21 additions and 6 deletions

View File

@ -26,6 +26,7 @@ import {Tree, TreeNode} from './utils/tree';
* RouterState is a tree of activated routes. Every node in this tree knows about the "consumed" URL
* segments, the extracted parameters, and the resolved data.
*
* @usageNotes
* ### Example
*
* ```
@ -340,6 +341,7 @@ export class ActivatedRouteSnapshot {
* This is a tree of activated route snapshots. Every node in this tree knows about
* the "consumed" URL segments, the extracted parameters, and the resolved data.
*
* @usageNotes
* ### Example
*
* ```