npm.io
1.0.1 • Published 5 years ago

@forter/speech

Licence
Apache-2.0
Version
1.0.1
Deps
1
Size
41 kB
Vulns
0
Weekly
0

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