docs(router): change slideInDownAnimation into slideInAnimation (#28640)

In the Routing & Navigation there is a typo - slideInDownAnimation, but it should be slideInAnimation

PR Close #28572

PR Close #28640
This commit is contained in:
SebastienBtr
2019-02-11 10:42:37 +01:00
committed by Miško Hevery
parent 5933d16f3e
commit 3ca6c928f9

View File

@ -2242,10 +2242,10 @@ This file does the following:
You could also create more transitions for other routes. This trigger is sufficient for the current milestone. You could also create more transitions for other routes. This trigger is sufficient for the current milestone.
Back in the `AppComponent`, import the `RouterOutlet` token from the `@angular/router` package and the `slideInDownAnimation` from Back in the `AppComponent`, import the `RouterOutlet` token from the `@angular/router` package and the `slideInAnimation` from
`'./animations.ts`. `'./animations.ts`.
Add an `animations` array to the `@Component` metadata's that contains the `slideInDownAnimation`. Add an `animations` array to the `@Component` metadata's that contains the `slideInAnimation`.
<code-example path="router/src/app/app.component.2.ts" linenums="false" header="src/app/app.component.ts (animations)" region="animation-imports"> <code-example path="router/src/app/app.component.2.ts" linenums="false" header="src/app/app.component.ts (animations)" region="animation-imports">