angular 9 animation equivalent of keyframes in trasform code example
Example: angular transition animation
content_copy
animations: [
trigger('openClose', [
state('true', style({ height: '*' })),
state('false', style({ height: '0px' })),
transition('false <=> true', animate(500))
])
],