File tree 2 files changed +3
-0
lines changed
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:
45
45
:status =" isVoiceCaptureActive"
46
46
:lang =" selectedLang"
47
47
:mode =" selectedMode"
48
+ :clipboard =" true"
48
49
@voiceTranscript =" handleTranscript"
49
50
@onStatus =" handleStatusChange"
50
51
/>
@@ -60,6 +61,7 @@ Use the component in your template with language and mode options:
60
61
| ` status ` | Boolean | ` false ` | Toggles the voice capture on/off. Set to ` true ` to activate voice recognition. |
61
62
| ` lang ` | String | ` "en" ` | Specifies the language for speech recognition (e.g., ` "pt" ` for Portuguese). |
62
63
| ` 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. |
63
65
64
66
### Events
65
67
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ function returnVoiceTranscript(transcript) {
41
41
<template>
42
42
<VoiceCaptureVue
43
43
:status="isVoiceCaptureExample"
44
+ :clipboard="true"
44
45
@voiceTranscript="returnVoiceTranscript"
45
46
@onStatus="s tatusVoiceCapture"
46
47
/>
You can’t perform that action at this time.
0 commit comments