I'm very confused. What is the difference between the style()
function inside a state()
state('inactive', style({
backgroundColor: '#eee',
transform: 'scale(1)'
})),
and a style()
function inside transition()
transition('inactive => *', [
style({ transform: 'scale3d(.3, .3, .3)' }),
animate(100)
]),
and a style()
function inside animation()
animate(100, style({ transform: 'scale3d(.0, .0, .0)' }))