toolbarItems.clickFunction

The click event handler of the toolbar item.

Example

<div id="aiprompt"></div>
<script>
$("#aiprompt").kendoAIPrompt({
    toolbarItems: [
        { 
            type: "button", 
            text: "Custom Action",
            click: function(e) {
                console.log("Custom action clicked!");
            }
        }
    ]
});
</script>
In this article
toolbarItems.click
Not finding the help you need?
Contact Support