Ionic rotate ionicons / arrows


#1

Is there a way to rotate https://ionicframework.com/docs/v2/ionicons/ when you provide a degree value?
I want to rotate arrow-round-up to arbitrary orientations to display directions.


#2

For those that might be looking for the solution, here it is:

In my template use: [style.transform]="degreeStyle"
and in typescript simply use: this.degreeStyle = ‘rotate(’ + pourcentageVarHere + ‘deg)’;