ai.aiAssistantWindow.animation.closeObject

The animation that will be used when the AI AssistantWindow closes.

Example - configure AI AssistantWindow closing animation

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
   columns: [{ field: "name" }],
   dataSource: [{ name: "Jane Doe" }],
   toolbar: ["aiAssistant"],
   ai: {
     aiAssistantWindow: {
       animation: {
         close: {
           effects: "fade:out",
           duration: 300
         }
       }
     },
     service: "https://demos.telerik.com/service/v2/ai/grid/smart-state"
   }
});
</script>