Angular - Animations
Analyze this Angular animation trigger:
What is the animation duration when transitioning from 'shown' to 'hidden'?
trigger('visibility', [
state('shown', style({ opacity: 1, height: '*' })),
state('hidden', style({ opacity: 0, height: '0px' })),
transition('hidden => shown', animate('150ms ease-in')),
transition('shown => hidden', animate('300ms ease-out'))
])What is the animation duration when transitioning from 'shown' to 'hidden'?
