topAffixTemplateFunction

Defines a custom template for the top affix area. The top affix is positioned at the top of the content area in multi-line mode only.

Example

<div id="promptbox"></div>
<script>
$("#promptbox").kendoPromptBox({
    mode: "multi",
    topAffixTemplate: () => '<div class="prompt-label">Your Message:</div>',
    placeholder: "Enter your message..."
});
</script>
In this article
topAffixTemplate
Not finding the help you need?
Contact Support