From f8096d499324cf0961f092944bbaedd05364eea1 Mon Sep 17 00:00:00 2001 From: cyraid Date: Sat, 29 Sep 2018 22:01:57 -0500 Subject: [PATCH] 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 --- packages/animations/src/animation_metadata.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/animations/src/animation_metadata.ts b/packages/animations/src/animation_metadata.ts index c3a533d931..dfaf9d60a7 100755 --- a/packages/animations/src/animation_metadata.ts +++ b/packages/animations/src/animation_metadata.ts @@ -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({