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:
parent
b22405767f
commit
78bd3c70de
@ -1132,7 +1132,7 @@ export function useAnimation(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds one or more inner elements within the current element that is
|
* 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
|
* @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.
|
* characteristics, specified with one or more of the following tokens.
|
||||||
@ -1179,7 +1179,7 @@ export function useAnimation(
|
|||||||
* ### Usage Example
|
* ### Usage Example
|
||||||
*
|
*
|
||||||
* The following example queries for inner elements and animates them
|
* The following example queries for inner elements and animates them
|
||||||
* individually using `animateChild()`.
|
* individually using `animate()`.
|
||||||
*
|
*
|
||||||
* ```typescript
|
* ```typescript
|
||||||
* @Component({
|
* @Component({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user