SpeechToTextButtonProps
Name | Type | Default | Description |
---|---|---|---|
accessKey? |
|
Sets the | |
ariaLabel? |
|
Sets the aria-label of the Button. | |
ariaPressed? |
|
Sets the | |
continuous? |
|
Specifies whether the speech recognition should continue until explicitly stopped. Defaults to | |
dir? |
|
Sets the direction of the Button. | |
disabled? |
|
Specifies if the Button is disabled (see example). Defaults to | |
fillMode? |
|
|
Configures the The available options are:
|
icon? |
|
Defines the name for an existing icon in a Kendo UI for Vue theme (see example). The icon is rendered inside the Button by a | |
iconClass? |
|
Defines a CSS class—or multiple classes separated by spaces—which are applied to a | |
iconSize? |
|
defines the size of the SVG icon displayed inside the Button. | |
id? |
|
Sets the | |
imageAlt? |
|
Defines the alternative text of the image rendered inside the Button component. | |
imageUrl? |
|
Defines a URL which is used as an | |
integrationMode? |
|
Specifies which speech recognition engine or integration the component should use. This allows the component to operate in different environments or use alternative implementations. | |
interimResults? |
|
Specifies whether to return interim results. Defaults to | |
lang? |
|
The language to use for speech recognition. Defaults to 'en-US'. | |
maxAlternatives? |
|
Specifies the maximum number of alternative transcriptions to return. Defaults to | |
onEnd? |
|
Callback function that is called when speech recognition ends. | |
onError? |
|
Callback function that is called when an error occurs during speech recognition. | |
onResult? |
|
Callback function that is called when a speech recognition result is available.
The event contains the | |
onStart? |
|
Callback function that is called when speech recognition starts. | |
primary? |
|
Adds visual weight to the Button and makes it primary (see example).
Deprecated. Use | |
role? |
|
Sets the | |
rounded? |
|
|
Configures the The available options are:
|
selected? |
|
Sets the selected state of the Button. Can be used for controlled state. | |
size? |
|
|
Configures the The available options are:
|
svgIcon? |
|
Defines an SVGIcon to be rendered within the button. | |
tabIndex? |
|
Sets the | |
themeColor? |
|
|
Configures the The available options are:
|
title? |
|
Sets the aria-label of the Button. | |
togglable? |
|
Provides visual styling that indicates if the Button is selected (see example). Defaults to | |
type? |
|
Sets the |
Methods
isActive | ||||
---|---|---|---|---|
Method that checks if the speech recognition is currently active. | ||||
|
start |
---|
Method that helps you start the speech recognition process manually. |
stop |
---|
Method that helps you stop the speech recognition process manually. |