-
Notifications
You must be signed in to change notification settings - Fork 76
ShowAnim Option
Benjamin Albert edited this page Feb 4, 2016
·
3 revisions
Type: String
Default: 'fadeIn'
Supported values: ['fadeIn', 'slideDown', 'none']
Since: 2.4
Sets the animation to use only when the menu is open, you can disable the show animation by
passing in none.
If you want to have the same animation for both opening and closing the menu use the Animation option instead.
<p>
To set the animation for closing the menu see the [[HideAnim option|HideAnim-Option]]</a>.
</p>
Set the option upon init.
$('.selector').MonthPicker({ ShowAnim: 'slideDown' });
Get or set the option, after init.
//getter var ShowAnim = $('.selector').MonthPicker('option', 'ShowAnim'); //setter $('.selector').MonthPicker('option', 'ShowAnim', 'slideDown' );