In following code I want to apply animations on div [ngStyle]="{'width': object.widthValue}"
When width increase that will animated
<ion-row *ngFor="let object of barArray">
<ion-col class="cityTxt" col-3>{{object.yLable}}</ion-col>
<ion-col col-9>
<div class="lksDiv">
<b>{{object.widthValue}}</b> {{object.unit}}</div>
<div class="greyline">
<div class="blueline" [ngStyle]="{'width': object.widthValue}"></div>
</div>
<div class="lastLks">{{object.endLabel}}</div>
</ion-col>
</ion-row>
So In screenshot blue bar will be show as like animations
I am new to angular5 Can anyone help me out?