reactive-image-rotate
Reactive icon

Reactive Image Rotate

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 10 Aug (10 days ago)
 by 
0.0
 (0 ratings)
reactive-image-rotate

Reactive Image Rotate

Details
I need to rotate an image with javascript and CSS in 90-degree intervals
Read more

In this component we have done the image rotate using javascript and CSS.


var angle = $parameters.DefValue;var img =document.querySelector('div[id="container"]');
$parameters.DefValue = ($parameters.DefValue + 90) % 360;
img.className = "rotate" + $parameters.DefValue;
$parameters.Out1 =   $parameters.DefValue ;
Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category