messageBox.topAffixTemplateFunction

Defines a custom template for the top affix area of the built-in message box. The top affix is rendered above the content area and is visible in multi-line mode only. This option applies when messageBoxTemplate is not set.

Example

<div id="chat"></div>
<script>
$("#chat").kendoChat({
    authorId: "user",
    messageBox: {
        mode: "multi",
        topAffixTemplate: () => '<div class="chat-top-affix">Enter a detailed message</div>'
    }
});
</script>
In this article
messageBox.topAffixTemplate
Not finding the help you need?
Contact Support