loadingBoolean(default: false)
Sets the loading state of the Action button. When true, the button displays a stop icon and allows users to cancel ongoing generation.
Example
<div id="promptbox"></div>
<script>
var promptbox = $("#promptbox").kendoPromptBox({
placeholder: "Generating response...",
loading: true
}).data("kendoPromptBox");
setTimeout(function() {
promptbox.loading(false);
}, 3000);
</script>