JSignage:AnimateRotate

From SpinetiX Support Wiki

Jump to: navigation, search

This page is related to jSignage animation events.

.animateRotate()

.animateRotate( attributesObject );

Returns: jSignage Object

Description

Creates a rotation animation for a jSignage layer. This function was added in 3.1.0 firmware release.

Parameters

Example

$(function () {    
    $.media( { href: 'media/logo.png' } )    
     .animateRotate( { from: 0, to: 360, dur: 10 } )    // rotate the image from 0 to 360 degrees in 10 seconds
     .addTo('svg');    
});
This page was last modified on 20 January 2017, at 17:40.