The Dialog widget can be animated while opening and closing the dialog.

We can specify the effect and the duration for the animation. There are two types of effects (slide and fade). We can configure these settings separately for open and close dialog actions.

  • @{List<string> icon = new List<string>() { "close", "maximize", "minimize", "collapsible" }; }
    <div class="control">
        <ej-dialog id="dialog" title="Dialog" action-buttons="icon">
                <e-show duration="500" effect="Slide" />
                <e-hide duration="500" effect="Fade" />
                    <p>This is a Dialog</p>