docs: fix typo in router animation (#35100)

`output directive` should be written: `outlet directive`

PR Close #35100
This commit is contained in:
Sasha Rudan 2020-02-01 18:38:47 +03:00 committed by Miško Hevery
parent 491654d882
commit 1f6da8c7d5
1 changed files with 1 additions and 1 deletions

View File

@ -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