Wijmo UI for the Web
animationOptions Option

Type: wijmo.superpanel.superpanel_animation

The animationOptions function determines whether or not the animation is shown. If true, it defines the animation effect and controls other aspects of the widget's animation, such as duration, queue, and easing.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  wijmo.superpanel.superpanel_animation
    returnsValue = $(".selector").wijsuperpanel("option", "animationOptions");
    
    // Set value
    var newValue; // Type:  wijmo.superpanel.superpanel_animation
    $(".selector").wijsuperpanel("option", "animationOptions", newValue);
        
});
Javascript (Specification) 
var animationOptions : superpanel_animation;
Example
$('#superPanel').wijsuperpanel({
    animationOptions: {
        disabled: false,
        duration: 1000,
        easing: easeInQuad
    }
  });
Remarks
Set this options to null to disable animation.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijsuperpanel jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.