Search results

AnimationSettings API in JavaScript (ES5) Dialog API control

Configures the animation properties for both open and close the dialog.

Properties

delay

number

Specifies the delay in milliseconds to start animation.

Defaults to 0

duration

number

Specifies the duration in milliseconds that the animation takes to open or close the dialog.

Defaults to 400

effect

DialogEffect

Specifies the animation name that should be applied on open and close the dialog. If user sets Fade animation, the dialog will open with FadeIn effect and close with FadeOut effect. The following are the list of animation effects available to configure to the dialog:

  1. Fade
  2. FadeZoom
  3. FlipLeftDown
  4. FlipLeftUp
  5. FlipRightDown
  6. FlipRightUp
  7. FlipXDown
  8. FlipXUp
  9. FlipYLeft
  10. FlipYRight
  11. SlideBottom
  12. SlideLeft
  13. SlideRight
  14. SlideTop
  15. Zoom
  16. None

Defaults to ‘Fade’