I need assistance in implementing a fadeInRight animation trigger using typescript.
Currently, I have managed to implement a trigger for both fadeIn and fadeOut animations.
Could someone please provide guidance on this?
Please see my code snippet below:
trigger('fade', [
state('in', style({
opacity: 1
})),
state('out', style({
opacity: 0
})),
transition('in => out', animate('0ms ease-out')),
transition('out => in', animate('500ms ease-in'))
])