destroy

Prepares the SpeechToTextButton for safe removal from DOM.

Example

<button id="speechButton"></button>
<script>
    var speechButton = $("#speechButton").kendoSpeechToTextButton().data("kendoSpeechToTextButton");
    speechButton.destroy();
</script>
In this article
destroy
Not finding the help you need?
Contact Support