docs(animations): rename animateChild() to animate() (#26184)

Renamed "animateChild()" to "animate()" in the comments/usage.
  The docs state to use animateChild() but uses animate() in the examples.
PR Close #26184
This commit is contained in:
cyraid 2018-09-29 22:01:57 -05:00 committed by Miško Hevery
parent 7dab458884
commit f8096d4993
1 changed files with 2 additions and 2 deletions

View File

@ -1132,7 +1132,7 @@ export function useAnimation(
/**
* Finds one or more inner elements within the current element that is
* being animated within a sequence. Use with `animateChild()`.
* being animated within a sequence. Use with `animate()`.
*
* @param selector The element to query, or a set of elements that contain Angular-specific
* characteristics, specified with one or more of the following tokens.
@ -1179,7 +1179,7 @@ export function useAnimation(
* ### Usage Example
*
* The following example queries for inner elements and animates them
* individually using `animateChild()`.
* individually using `animate()`.
*
* ```typescript
* @Component({