animation

An object defining the animation options of the widget.

Type:

Object

Default Value: { show: { type: 'fade', duration: 400, from: 0, to: 1 }, hide: { type: 'fade', duration: 400, to: 0 } }
Default for android below version 4: { show: { type: 'fade', duration: 400 }, hide: { type: 'fade', duration: 400, to: { opacity: 0 }, from: { opacity: 1 } } }
Default for android: {show: {type: 'slide', duration: 200, from: { top: $(window).height() }}, hide: { type: 'slide', duration: 200, to: { top: $(window).height() }}}

Show Example:
AngularJS
Knockout
jQuery

hide

An object that defines the animation options used when the widget is being hidden.

Default Value: { type: 'fade', duration: 400, to: 0 }

show

An object that defines the animation options used when the widget is being shown.

Default Value: { type: 'fade', duration: 400, from: 0, to: 1 }