toolbar.animation Boolean|Object

Configures the toolbar toggle animation. If disabled animation will not play.

Example

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    toolbar: {
        animation: false,
        buttons: [
            { name: "ButtonA", iconClass: "k-icon k-i-gear" },
            { name: "ButtonA", iconClass: "k-icon k-i-gear" }
        ]
    }
});
</script>

Example

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    toolbar: {
        animation: {
            collapse: {
                effects: "expandVertical fadeIn",
                duration: 500
            },
            expand: {
                effects: "expandVertical fadeIn",
                duration: 500
            }
        },
        toggleable: true,
        buttons: [
            { name: "ButtonA", iconClass: "k-icon k-i-gear" },
            { name: "ButtonA", iconClass: "k-icon k-i-gear" }
        ]
    }
});
</script>
In this article
Not finding the help you need? Improve this article