New to Kendo UI for jQuery? Start a free 30-day trial

Loading

configuration

Sets the loading state of the Action button. When true, the button displays a stop icon and allows users to cancel ongoing generation.

loading

Boolean

Default: false

<div id="promptbox"></div>
<script>
var promptbox = $("#promptbox").kendoPromptBox({
    placeholder: "Generating response...",
    loading: true
}).data("kendoPromptBox");

setTimeout(function() {
    promptbox.loading(false);
}, 3000);
</script>
Not finding the help you need?
Contact Support