File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ Use the component in your template with language and mode options:
4545 :status =" isVoiceCaptureActive"
4646 :lang =" selectedLang"
4747 :mode =" selectedMode"
48+ :clipboard =" true"
4849 @voiceTranscript =" handleTranscript"
4950 @onStatus =" handleStatusChange"
5051 />
@@ -60,6 +61,7 @@ Use the component in your template with language and mode options:
6061| ` status ` | Boolean | ` false ` | Toggles the voice capture on/off. Set to ` true ` to activate voice recognition. |
6162| ` lang ` | String | ` "en" ` | Specifies the language for speech recognition (e.g., ` "pt" ` for Portuguese). |
6263| ` mode ` | String | ` "fullscrenn" ` | Defines the display mode: ` "float" ` for inline, ` "fullscreen" ` for full-screen. |
64+ | ` clipboard ` | Boolean | ` false ` | If ` true ` , copies the final transcript text to the clipboard automatically. |
6365
6466### Events
6567
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ function returnVoiceTranscript(transcript) {
4141<template>
4242 <VoiceCaptureVue
4343 :status="isVoiceCaptureExample"
44+ :clipboard="true"
4445 @voiceTranscript="returnVoiceTranscript"
4546 @onStatus="s tatusVoiceCapture"
4647 />
You can’t perform that action at this time.
0 commit comments