Skip to content

Commit 1b9a102

Browse files
update doc with new feature clipboard
1 parent 3cf00f2 commit 1b9a102

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff 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

Diff for: src/App.config.ts

+1
Original file line numberDiff line numberDiff 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
/>

0 commit comments

Comments
 (0)