Icons in App Lab


#1

In app lab, if students want to rotate an icon so it is facing a different direction, is there an easy way to do this?


#2

Hi Rachel,

There is a way, but it’s not very easy. The setStyle command will allow you to use CSS styles on your elements, and there is a way to rotate elements with CSS. (CSS Transform Property)

setStyle("elementID", "transform: rotate(90deg);");

Here’s an example: Rotation Project - App Lab

Elizabeth