Skip to content

Commit

Permalink
docs(animations): rename animateChild() to animate() (#26184)
Browse files Browse the repository at this point in the history
Renamed "animateChild()" to "animate()" in the comments/usage.
  The docs state to use animateChild() but uses animate() in the examples.
PR Close #26184
  • Loading branch information
cyraid authored and mhevery committed Dec 14, 2018
1 parent 7dab458 commit f8096d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/animations/src/animation_metadata.ts
Expand Up @@ -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.
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit f8096d4

Please sign in to comment.