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-43Lines changed: 8 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,74 +14,39 @@ You can customize the appearance of the `SpeechToTextButton` component by using
14
14
15
15
## Size
16
16
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:
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
-
**Available values for the Size parameter**
20
-
21
-
| Class member | Manual declaration |
22
-
|--------------|-------------------|
23
-
| Small |`"sm"`|
24
-
| Medium (default) |`"md"`|
25
-
| Large |`"lg"`|
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).
The `FillMode` toggles the background and border of the TelerikSpeechToTextButton. You can set the parameter to a member of the `Telerik.Blazor.ThemeConstants.Button.FillMode` class:
34
-
35
-
**Available values for the FillMode parameter**
27
+
The `FillMode` toggles the background and border of the TelerikSpeechToTextButton. You can set the parameter to a member of the `Telerik.Blazor.ThemeConstants.Button.FillMode` class.
36
28
37
-
| Class member | Manual declaration |
38
-
|--------------|-------------------|
39
-
| Solid (default) |`"solid"`|
40
-
| Outline |`"outline"`|
41
-
| Flat |`"flat"`|
42
-
| Link |`"link"`|
43
-
| Clear |`"clear"`|
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).
The color of the button is controlled through the `ThemeColor` parameter. You can set it to a member of the `Telerik.Blazor.ThemeConstants.Button.ThemeColor` class:
37
+
The color of the button is controlled through the `ThemeColor` parameter. You can set it to a member of the `Telerik.Blazor.ThemeConstants.Button.ThemeColor` class.
52
38
53
-
**Available values for the ThemeColor parameter**
54
-
55
-
| Class member | Manual declaration |
56
-
|--------------|-------------------|
57
-
| Base (default) |`"base"`|
58
-
| Primary |`"primary"`|
59
-
| Secondary |`"secondary"`|
60
-
| Tertiary |`"tertiary"`|
61
-
| Info |`"info"`|
62
-
| Success |`"success"`|
63
-
| Warning |`"warning"`|
64
-
| Error |`"error"`|
65
-
| Dark |`"dark"`|
66
-
| Light |`"light"`|
67
-
| Inverse |`"inverse"`|
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).
The `Rounded` parameter applies the border-radius CSS rule to the button to achieve curving of the edges. You can set it to a member of the `Telerik.Blazor.ThemeConstants.Button.Rounded` class:
76
-
77
-
**Available values for the Rounded parameter**
47
+
The `Rounded` parameter applies the border-radius CSS rule to the button to achieve curving of the edges. You can set it to a member of the `Telerik.Blazor.ThemeConstants.Button.Rounded` class.
78
48
79
-
| Class member | Manual declaration |
80
-
|--------------|-------------------|
81
-
| Small |`"sm"`|
82
-
| Medium (default) |`"md"`|
83
-
| Large |`"lg"`|
84
-
| Full |`"full"`|
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
+1-17Lines changed: 1 addition & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,23 +16,7 @@ The `SpeechToTextButton` component emits events that notify you about speech rec
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
-
**Event arguments**
20
-
21
-
The following table lists the properties of the `SpeechToTextButtonResultEventArgs` class:
|`Confidence`|`double`| The confidence score level of recognition engine. A floating point value (0.0-1.0). |
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).
36
20
37
21
**Example: Displaying Recognized Alternatives and Confidence**
|`StartAsync`| Start the speech-to-text recognition process. |
63
-
|`StopAsync`| Stop the speech recognition process. |
64
-
|`AbortAsync`| Abort the speech recognition process without returning a result. |
65
-
|`Refresh`| Force the component to re-render. |
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
+
37
+
## SpeechToTextButton Reference and Methods
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).
0 commit comments