You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/speechtotextbutton/appearance.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,15 @@ position: 2
10
10
11
11
# SpeechToTextButton Appearance
12
12
13
-
You can customize the appearance of the `SpeechToTextButton` component by using its built-in parameters and CSS classes. The component supports the same appearance options as the standard Telerik Button.
13
+
You can customize the appearance of the SpeechToTextButton component by using its built-in parameters and CSS classes. The component supports the same appearance options as the [Telerik UI for Blazor Button](slug:components/button/overview).
14
14
15
15
## Size
16
16
17
17
You can increase or decrease the size of the button by setting the `Size` parameter to a member of the `Telerik.Blazor.ThemeConstants.Button.Size` class.
18
18
19
19
To review all available values for the `Size` parameter, see the [Button Size API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.ThemeConstants.Button.Size.html).
@@ -28,7 +28,7 @@ The `FillMode` toggles the background and border of the TelerikSpeechToTextButto
28
28
29
29
To review all available values for the `FillMode` parameter, see the [Button FillMode API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.ThemeConstants.Button.FillMode.html).
@@ -38,7 +38,7 @@ The color of the button is controlled through the `ThemeColor` parameter. You ca
38
38
39
39
To review all available values for the `ThemeColor` parameter, see the [Button ThemeColor API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.ThemeConstants.Button.ThemeColor.html).
@@ -48,23 +48,23 @@ The `Rounded` parameter applies the border-radius CSS rule to the button to achi
48
48
49
49
To review all available values for the `Rounded` parameter, see the [Button Rounded API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.ThemeConstants.Button.Rounded.html).
Copy file name to clipboardExpand all lines: components/speechtotextbutton/events.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,23 @@ position: 3
10
10
11
11
# SpeechToTextButton Events
12
12
13
-
The `SpeechToTextButton` component emits events that notify you about speech recognition results, errors, and state changes. Use these events to update the UI, display messages, or process the recognized speech.
13
+
The SpeechToTextButton component emits events that notify you about speech recognition results, errors, and state changes. Use these events to update the UI, display messages, or process the recognized speech.
14
14
15
15
## OnResult
16
16
17
17
The `OnResult` event fires when the component recognizes speech and produces a result. Use this event to access the recognized phrases, alternatives, and confidence scores.
18
18
19
19
To review all available properties of the event arguments for `OnResult`, see the [`SpeechToTextButtonResultEventArgs` API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.SpeechToTextButtonResultEventArgs.html).
20
20
21
-
**Example: Displaying Recognized Alternatives and Confidence**
21
+
>caption Example: Displaying recognized Alternatives and Confidence
The `OnStart` event fires when speech recognition starts. The `OnEnd` event fires when speech recognition ends. Use these events to update the UI or track the recognition state.
Copy file name to clipboardExpand all lines: components/speechtotextbutton/integration.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,16 @@ position: 4
10
10
11
11
# SpeechToTextButton Integration
12
12
13
-
Integrate the `SpeechToTextButton` component with forms, input fields, and other UI elements to provide voice input capabilities.
13
+
Integrate the SpeechToTextButton component with forms, input fields, and other UI elements to provide voice input capabilities.
14
14
15
15
## Binding Recognized Text to an Input Field
16
16
17
-
Use the `OnResult` event to update an input field with the recognized text.
17
+
Use the `OnResult` event to update an input field with the recognized text. For example, you can enable users to fill out a feedback form by speaking instead of typing. When the user clicks the SpeechToTextButton, the component captures their speech. It then updates the value of a [TelerikTextArea](slug:textarea-overview) with the recognized text.
18
18
19
-
**Example of Binding Recognized Text to an TelerikTextArea**
19
+
>caption Example of binding the recognized text to an TelerikTextArea
-[AI Model Voice Transcription Intergration](https://github.com/telerik/blazor-ui/tree/master/common/microsoft-extensions-ai-integration/SpeechToTextIntegration)
Copy file name to clipboardExpand all lines: components/speechtotextbutton/overview.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,35 +10,35 @@ position: 1
10
10
11
11
# Blazor SpeechToTextButton Overview
12
12
13
-
The `SpeechToTextButton` component enables speech recognition in Blazor applications. It provides a button that users can select to start and stop speech recognition. The component converts spoken words into text and emits events with the recognized results.
13
+
The [Blazor SpeechToTextButton component](https://www.telerik.com/blazor-ui/speech-to-text-button) enables speech recognition in Blazor applications. It provides a button that users can select to start and stop speech recognition. The component converts spoken words into text and emits events with the recognized results.
14
14
15
-
Use the `SpeechToTextButton` component to add voice input capabilities to forms, search bars, chat interfaces, and other scenarios that require speech-to-text functionality.
15
+
Use the SpeechToTextButton component to add voice input capabilities to forms, search bars, chat interfaces, and other scenarios that require speech-to-text functionality.
16
16
17
17
## Basic Usage
18
18
19
-
The following example demonstrates how to add the `SpeechToTextButton` to a Blazor page and handle the recognition result.
19
+
The following example demonstrates how to add the SpeechToTextButton to a Blazor page and handle the recognition result.
You can customize the appearance of the `SpeechToTextButton` by setting parameters such as `Icon`, and `Class`. For more details and examples, refer to [SpeechToTextButton Appearance](slug:speechtotextbutton-appearance).
27
+
You can customize the appearance of the SpeechToTextButton by setting parameters such as `Icon`, and `Class`. For more details and examples, refer to [SpeechToTextButton Appearance](slug:speechtotextbutton-appearance).
28
28
29
29
## Events
30
30
31
-
The `SpeechToTextButton` component emits several events that you can handle. For more details, refer to [SpeechToTextButton Events](slug:speechtotextbutton-events).
31
+
The SpeechToTextButton component emits several events that you can handle. For more details, refer to [SpeechToTextButton Events](slug:speechtotextbutton-events).
32
32
33
33
## SpeechToTextButton Parameters
34
34
35
-
To review all available parameters for the `SpeechToTextButton` component, see the [SpeechToTextButton API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.TelerikSpeechToTextButton#parameters).
35
+
To review all available parameters for the SpeechToTextButton component, see the [SpeechToTextButton API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.TelerikSpeechToTextButton#parameters).
36
36
37
37
## SpeechToTextButton Reference and Methods
38
38
39
-
The `SpeechToTextButton` component exposes several public methods that you can call from your code. For a full list and details, see the [SpeechToTextButton API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.TelerikSpeechToTextButton#methods).
39
+
The SpeechToTextButton component exposes several public methods that you can call from your code. For a full list and details, see the [SpeechToTextButton API Reference](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.TelerikSpeechToTextButton#methods).
40
40
41
-
**Example of Calling a Method by Reference**
41
+
>caption Example of Calling a Method by Reference
42
42
43
43
<divclass="skip-repl"></div>
44
44
````RAZOR
@@ -54,7 +54,7 @@ The `SpeechToTextButton` component exposes several public methods that you can c
54
54
55
55
## Supported Browsers
56
56
57
-
The `SpeechToTextButton` component relies on the Web Speech API. For a list of supported browsers, refer to the [Web Speech API documentation](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API#browser_compatibility).
57
+
The SpeechToTextButton component relies on the Web Speech API. For a list of supported browsers, refer to the [Web Speech API documentation](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API#browser_compatibility).
58
58
59
59
## Next Steps
60
60
@@ -63,8 +63,8 @@ The `SpeechToTextButton` component relies on the Web Speech API. For a list of s
63
63
64
64
## See Also
65
65
66
-
-[SpeechToTextButton Live Demo](https://demos.telerik.com/blazor-ui/speechtotextbutton/overview)
67
-
-[SpeechToTextButton API Reference](/blazor-ui/api/Telerik.Blazor.Components.TelerikSpeechToTextButton)
0 commit comments