PromptBoxSpeechToTextButtonComponent
Defines the Speech to Text button component for the PromptBox. Enables voice input through speech recognition.
<kendo-promptbox>
<kendo-promptbox-end-affix>
<kendo-promptbox-speech-to-text-button></kendo-promptbox-speech-to-text-button>
</kendo-promptbox-end-affix>
</kendo-promptbox>
Selector
kendo-promptbox-speech-to-text-button
Export Name
Accessible in templates as #kendoPromptBoxSpeechToTextButtonInstance="kendoPromptBoxSpeechToTextButton"
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
continuous |
|
|
Specifies whether continuous results are returned for each recognition, or only a single result once recognition stops. |
disabled |
|
Sets the disabled state of the button. | |
fillMode |
|
Sets the background and border styles of the button. | |
icon |
|
Sets the name of an existing font icon in the Kendo UI theme for the button. | |
iconClass |
|
Defines a CSS class, or multiple classes separated by spaces, applied to a span element inside the button. | |
imageUrl |
|
Specifies a URL for an img element inside the button. | |
integrationMode |
|
|
Specifies which speech recognition engine or integration the component should use. Allows the component to operate in different environments or use alternative implementations. |
interimResults |
|
|
Sets whether interim results should be returned. |
lang |
|
|
Sets a |
maxAlternatives |
|
|
Represents the maximum number of alternative transcriptions to return for each result. |
rounded |
|
Sets the border radius of the button. | |
size |
|
Sets the padding of the button. | |
svgIcon |
|
Sets the SVG icon for the tool button. | |
themeColor |
|
Sets a predefined theme color for the button. | |
title |
|
Sets the title attribute of the button. |