Edit this page

animation Boolean |Object

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

animation:true is not a valid configuration.

Example - disable open and close animations

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

Example - configure the animation

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

animation.close Object

The animation played when the suggestion popup is closed.

Example - configure the close animation

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

animation.close.duration Number (default: 100)

The duration of the close animation in milliseconds.

animation.close.effects String

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

Complete list of available animations

animation.open Object

The animation played when the suggestion popup is opened.

Example - configure the open animation

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

animation.open.duration Number (default: 200)

The duration of the open animation in milliseconds.

animation.open.effects String

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

Complete list of available animations

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy