We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71af421 commit 4264360Copy full SHA for 4264360
ng-sample/app/examples/animation/animation-states-test.ts
@@ -16,11 +16,18 @@ import {
16
animations: [
17
trigger("state", [
18
19
- state("inactive", style({ "background-color": "red" })),
20
- state("active", style({ "backgroundColor": "green" })),
+ state("inactive", style({
+ backgroundColor: "red",
21
+ transform: "scale(0.7)",
22
+ })),
23
+ state("active", style({
24
+ backgroundColor: "green",
25
+ transform: "scale(2)",
26
27
28
transition("* => active", [ animate("600ms ease-out") ]),
29
transition("* => inactive", [ animate("600ms ease-out") ]),
30
+
31
])
32
]
33
})
0 commit comments