animation

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

Type:

Object

The following code specifies the default value of the object:

{
    show: {
        type: 'fade',
        from: 0,
        to: 1
    },
    hide: {
        type: 'fade',
        from: 1,
        to: 0
    }
}

Set this object to null or undefined to disable animations.

hide

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

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

show

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

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