fc-speech
An element by Forter
Usage
<script>
import '@forter/speech';
</script>
<fc-speech>
<fc-button icon="microphone"></fc-button>
</fc-speech>
Properties
Property | Attribute | Type | Description |
---|---|---|---|
completeTranscript |
completeTranscript |
string |
The completed transcript |
continuous |
continuous |
boolean |
If recording should be continuous |
interimResults |
interim-results |
boolean |
If results should be streamed as they are produced |
language |
language |
string |
The language to use when recognizing |
recognizing |
recognizing |
boolean |
Whether the component is recognizing speech |
transcript |
transcript |
string |
Events
Event |
---|
result |
CSS Custom Properties
Property | Description |
---|---|
--fc-speech-disabled-color |
disabled color. example: gray
|