animationBoolean|Object

Configures the opening and closing animations of the popups. Setting the animation option to false will disable the opening and closing animations. As a result the popup will open and close instantly.

animation:true is not a valid configuration.

Example - disable open and close animations

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker({
  animation: false
});
</script>

Example - configure the animation

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker({
  animation: {
   close: {
     effects: "fadeOut zoom:out",
     duration: 300
   },
   open: {
     effects: "fadeIn zoom:in",
     duration: 300
   }
  }
});
</script>

animation.closeObject

The animation played when a popup is closed.

Example - configure the close animation

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker({
  animation: {
   close: {
     effects: "zoom:out",
     duration: 300
   }
  }
});
</script>

animation.close.effectsString

The effect(s) to use when playing the close animation. Multiple effects should be separated with a space.

Complete list of available animations

Example

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker({
    animation: {
        close: {
            effects: "fadeOut slideUp"
        }
    }
});
</script>

animation.close.durationNumber

The duration of the close animation in milliseconds.

Example

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker({
    animation: {
        close: {
            effects: "fadeOut",
            duration: 500
        }
    }
});
</script>

animation.openObject

The animation played when the popup is opened.

Example - configure the open animation

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker({
  animation: {
   open: {
     effects: "zoom:in",
     duration: 300
   }
  }
});
</script>

animation.open.effectsString

The effect(s) to use when playing the open animation. Multiple effects should be separated with a space.

Complete list of available animations

Example

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker({
    animation: {
        open: {
            effects: "fadeIn slideDown"
        }
    }
});
</script>

animation.open.durationNumber

The duration of the open animation in milliseconds.

Example

<input id="datetimepicker" />
<script>
$("#datetimepicker").kendoDateTimePicker({
    animation: {
        open: {
            effects: "fadeIn",
            duration: 600
        }
    }
});
</script>