-
Notifications
You must be signed in to change notification settings - Fork 75
HideAnim Option
Benjamin Albert edited this page Feb 4, 2016
·
3 revisions
Type: String
Default: 'fadeOut'
Supported values: ['fadeOut', 'slideUp', 'none']
Since: 2.4
Sets the animation to use only when the menu is opened, you can disable the hide 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 opening the menu see the [[ShowAnim option|ShowAnim-Option]]
</p>
Set the option upon init.
$('.selector').MonthPicker({ HideAnim: 'slideUp' });
Get or set the option, after init.
//getter var HideAnim = $('.selector').MonthPicker('option', 'HideAnim'); //setter $('.selector').MonthPicker('option', 'HideAnim', 'slideUp' );