JSignage:AnimateZoom

From SpinetiX Support Wiki

Jump to: navigation, search

This page is related to jSignage animation events.

.animateZoom()

.animateZoom( attributesObject );

Returns: jSignage Object

Description

Creates a zoom animation for a jSignage layer. This function was added in 3.1.0 release, for older versions, the zoom effects can be used instead.

Parameters

Example

$(function () {    
    $.media( { href: 'media/logo.png' } )    
     .animateZoom( { from: 0.5, to: 1, dur: 10 } )    // animate the image zoom effect from 50% to full image in 10 seconds
     .addTo('svg');    
});
This page was last modified on 20 January 2017, at 16:47.