docs(animations): fix group and sequence function usage examples (#28305)
animate functions now contain style functions instead of plain objects e.g. animate(1s, { background: black })) to animate(1s, style({ background: black })) PR Close #28305
This commit is contained in:
parent
c1fb9c265c
commit
465abab213
|
@ -671,8 +671,8 @@ export function animate(
|
|||
*
|
||||
* ```typescript
|
||||
* group([
|
||||
* animate("1s", { background: "black" }))
|
||||
* animate("2s", { color: "white" }))
|
||||
* animate("1s", style({ background: "black" })),
|
||||
* animate("2s", style({ color: "white" }))
|
||||
* ])
|
||||
* ```
|
||||
*
|
||||
|
@ -708,7 +708,7 @@ export function group(
|
|||
* ```typescript
|
||||
* sequence([
|
||||
* style({ opacity: 0 })),
|
||||
* animate("1s", { opacity: 1 }))
|
||||
* animate("1s", style({ opacity: 1 }))
|
||||
* ])
|
||||
* ```
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue