docs: fix typo in router animation (#35100)
`output directive` should be written: `outlet directive` PR Close #35100
This commit is contained in:
parent
491654d882
commit
1f6da8c7d5
|
@ -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>
|
<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
|
## Animation definition
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue