Icons in App Lab

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?

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