Wijmo UI for the Web
animated Option

Default value: 'slide'

Determines the animation easing effect; set this option to false in order to disable animation. Note that custom easing effects require the UI Effects Core. Additional options that are available for the animation function include: expand - value of true indicates that content element must be expanded. horizontal - value of true indicates that expander is horizontally orientated (when expandDirection is left or right). content - jQuery object that contains content element to be expanded or collapsed.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijexpander("option", "animated");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijexpander("option", "animated", newValue);
        
});
Javascript (Specification) 
var animated : string;
Example
$("#expander2").wijexpander({
           animated: "custom1"
       });
       jQuery.wijmo.wijexpander.animations.custom1 = function (options) {
           this.slide(options, {
               easing: "easeInBounce",
               duration: 900
           });
       }
Browser Compatibility
7
5
5

See Also

Reference

options type
wijexpander jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.