wijmo.expander.wijexpander Namespace > options type : 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.
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) | |
---|---|
|
$("#expander2").wijexpander({ animated: "custom1" }); jQuery.wijmo.wijexpander.animations.custom1 = function (options) { this.slide(options, { easing: "easeInBounce", duration: 900 }); }