I have the following button
<button class="btn btn-primary btn-sm" type="button" (click)="executeUsecase(usecase.UsecaseId)"><i class="fa fa-play "></i></button>
it shows a play icon.
I want this play icon to spin when I click on this. How can i achieve it?
I am using typescript in angular 4