Skip to content

Commit

Permalink
docs: fix typo in router animation (#35100)
Browse files Browse the repository at this point in the history
`output directive` should be written: `outlet directive`

PR Close #35100
  • Loading branch information
mprinc authored and mhevery committed Feb 4, 2020
1 parent eefafbd commit cf1fa60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aio/content/guide/route-animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The `<router-outlet>` container has an attribute directive that contains data ab

<code-example path="animations/src/app/app.component.ts" header="src/app/app.component.ts" region="prepare-router-outlet" language="typescript"></code-example>

Here, the `prepareRoute()` method takes the value of the output directive (established through `#outlet="outlet"`) and returns a string value representing the state of the animation based on the custom data of the current active route. You can use this data to control which transition to execute for each route.
Here, the `prepareRoute()` method takes the value of the outlet directive (established through `#outlet="outlet"`) and returns a string value representing the state of the animation based on the custom data of the current active route. You can use this data to control which transition to execute for each route.

## Animation definition

Expand Down

0 comments on commit cf1fa60

Please sign in to comment.