Animation in ASP.NET CORE Stepper control

13 Feb 20241 minute to read

The Stepper progress state can be animated, smoothly transitioning from one step to another. You can customize the animation’s duration and delay, by using the e-stepper-animation tag helper.

You can disable the animation by setting the enable property to false. By default, the value is true.

Fields Type Description
duration number Specifies the duration of the animated transition for each step. The default value is 2000 milliseconds.
delay number Specifies the delay to initiate the animated transition for each step in milliseconds. The default value is 0.

The example demonstrates the animation Duration and Delay settings for the Stepper.

@using Syncfusion.EJ2.Navigations;

<ejs-stepper id="stepper">
    <e-stepper-steps>
        <e-stepper-step></e-stepper-step>
        <e-stepper-step></e-stepper-step>
        <e-stepper-step></e-stepper-step>
        <e-stepper-step></e-stepper-step>
        <e-stepper-step></e-stepper-step>
    </e-stepper-steps>
    <e-stepper-animation duration=2000 delay=500 enable="true"></e-stepper-animation>
</ejs-stepper>