A newer version of this page is available. Switch to the current version.

JavaScript/jQuery ContextMenu - animation

Configures UI component visibility animations. This object contains two fields: show and hide.

Type:

Object

Default Value: { show: { type: 'fade', from: 0, to: 1, duration: 100 }, hide: { type: 'fade', from: 1, to: 0, duration: 100 } }

Set this object to null or undefined to disable animation.

hide

An object that defines the animation properties used when the UI component is being hidden.

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

show

An object that defines the animation properties used when the UI component is being shown.

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