1.0.1 • Published 4 years ago

@forter/speech v1.0.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
4 years ago

fc-speech

An element by Forter

npm.io npm.io npm.io npm.io npm.io npm.io

Usage

<script>
   import '@forter/speech';
</script>

<fc-speech>
  <fc-button icon="microphone"></fc-button>
</fc-speech>

Properties

PropertyAttributeTypeDescription
completeTranscriptcompleteTranscriptstringThe completed transcript
continuouscontinuousbooleanIf recording should be continuous
interimResultsinterim-resultsbooleanIf results should be streamed as they are produced
languagelanguagestringThe language to use when recognizing
recognizingrecognizingbooleanWhether the component is recognizing speech
transcripttranscriptstring

Events

Event
result

CSS Custom Properties

PropertyDescription
--fc-speech-disabled-colordisabled color. example: gray