Wijmo UI for the Web
animation Option

The animation option determines whether and how images are scroll in the carousel. It defines the animation effect and controls other aspects of the widget's animation, such as duration and easing. Set the disable attribute to true in order to disable the animation effect. For a live example, see the Carousel Animation page in the Explore sample.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var value; // Type:  object
    value = $(".selector").wijcarousel("option", "animation");
    
    // Set value
    var newValue; // Type:  object
    $(".selector").wijcarousel("option", "animation", newValue);
        
});
Javascript (Specification) 
var animation : object;
Example
$("#element").wijcarousel( { 
    animation { 
        queue: true,
        disable: false,
        duration: true,
        easing: "easeOutCubic"
    }
} );
Browser Compatibility
7
5
5

See Also

Reference

options type
wijcarousel jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.