angular animation transition trigger a css class 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))
])
],