0.1.5 • Published 1 year ago
vue-voice-recognition v0.1.5
#Vue Voice Recognition
With this component you can simply start talking while the component sends you your voice transcripted to you use wherever you want! (Simple like that)
##Installation:
yarn add vue-voice-recognition
or
npm i vue-voice-recognition
- both commands will download the latest version of the module
##Import:
//first of all, import the component on your main.js
import VueVoiceRecognition from 'vue-voice-recognition'
//then expose it globally to be available on your project
createApp(App)
.mount("#app")
.use(VueVoiceRecognition); // (you only this part)
##Use:
###Basic usage:
<VueVoiceRecognition @getTranscript="callback"/>
###With all it's power:
//nothing yet
##Props: |Option|Type:|Default:|Description:| :----: |:--: | :----: | :--------: | stopRecording| String| null | Here you can pass a word or phrase that when it's detected by the component will end the voice capturing immediately. (you can keep this as null if you want)