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