Angular - Animations
Given the following Angular animation trigger:
What will be the animation duration when transitioning from
trigger('openClose', [
state('open', style({ height: '200px', opacity: 1 })),
state('closed', style({ height: '100px', opacity: 0.5 })),
transition('open => closed', animate('1s')),
transition('closed => open', animate('0.5s'))
])What will be the animation duration when transitioning from
closed to open?