SpeechToTextButton

Example

Razor
<kendo-speechtotextbutton>
    <messages />
</kendo-speechtotextbutton>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
as-moduleBooleanSpecifies whether the initialization script of the component will be rendered as a JavaScript module.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
continuousBooleanControls whether continuous results are returned for each recognition, or only a single result once recognition stops.
fill-modeButtonFillModeSets a value controlling how the color is applied.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
enableBooleanIndicates whether the button must be enabled or disabled. By default, it is enabled, unless a disabled="disabled" attribute is detected.
iconStringThe name of the Kendo UI font icon to be displayed in the button when it is not active (not listening).
integration-modeIntegrationModeSpecifies which speech recognition engine or integration the component should use.
interim-resultsBooleanControls whether interim results should be returned (true) or not (false). Interim results are results that are not yet final.
langStringSpecifies a BCP 47 language tag (e.g., 'en-US', 'fr-FR') used for speech recognition.
max-alternativesDoubleRepresents the maximum number of alternative transcriptions to return for each result.
on-clickStringThe name of the JavaScript function that will handle the click event. Fires when the Button is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the Button is focused.
on-endStringThe name of the JavaScript function that will handle the end event. Fires when the speech recognition service has disconnected.
on-errorStringThe name of the JavaScript function that will handle the error event. Fires when a speech recognition error occurs.
on-resultStringThe name of the JavaScript function that will handle the result event. Fires when the speech recognition service returns a result - a word or phrase has been positively recognized.
on-startStringThe name of the JavaScript function that will handle the start event. Fires when the speech recognition service has begun listening to incoming audio.
roundedRoundedSets a value controlling the border radius.
script-attributesIDictionary<String,Object>Sets the attributes that will be added to the script tag of the component's initialization script.
sizeComponentSizeSets the size of the component.
stop-iconStringThe name of the Kendo UI font icon to be displayed in the button when it is active (listening).
theme-colorThemeColorSets the color of the component according to the applied theme.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support