toggleToolbar

Toggles the Chat toolbar.

Parameters

skipEffects Boolean

If set to true, an animation will not play.

Example

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

    var chat = $("#chat").data("kendoChat");

    chat.toggleToolbar(true);
    chat.toggleToolbar();
</script>
In this article