I am using ionic 4, angular 7, ng-animate
below is my product listing code.
<div class="custom_cards" (click)="openModal()">
<ion-item>
<ion-avatar slot="start" class="fish_image">
<img src="assets/images/fish.png">
</ion-avatar>
<ion-label>
<h3 class="dish_name">Indian Rowas</h3>
<p class="order_status">SAR 100</p>
<p class="order_date">Rating : ⭐⭐⭐⭐⭐</p>
<ion-button color="primary" fill="outline" class="add_btn">Add</ion-button>
</ion-label>
</ion-item>
</div>
You haven't really given enough information here.
If you look on the link that you provided for ng-animate then it has a guide built into it:
Have you got stuck at a specific point?
The general idea is that you prep the animations in the .ts file and then you trigger them in the markup:
and then trigger: