New to Kendo UI for AngularStart a free 30-day trial

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:

html
<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.

Default:

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.

Default:

'webSpeech'

Sets whether interim results should be returned.

Default:

false

lang

string

Sets a BCP 47 language for speech recognition.

Default:

'en-US'

Represents the maximum number of alternative transcriptions to return for each result.

Default:

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.