Skip to content

Commit

Permalink
update doc with new feature clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Nov 13, 2024
1 parent 3cf00f2 commit 1b9a102
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Use the component in your template with language and mode options:
:status="isVoiceCaptureActive"
:lang="selectedLang"
:mode="selectedMode"
:clipboard="true"
@voiceTranscript="handleTranscript"
@onStatus="handleStatusChange"
/>
Expand All @@ -60,6 +61,7 @@ Use the component in your template with language and mode options:
| `status` | Boolean | `false` | Toggles the voice capture on/off. Set to `true` to activate voice recognition. |
| `lang` | String | `"en"` | Specifies the language for speech recognition (e.g., `"pt"` for Portuguese). |
| `mode` | String | `"fullscrenn"` | Defines the display mode: `"float"` for inline, `"fullscreen"` for full-screen. |
| `clipboard`| Boolean | `false` | If `true`, copies the final transcript text to the clipboard automatically. |

### Events

Expand Down
1 change: 1 addition & 0 deletions src/App.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ function returnVoiceTranscript(transcript) {
<template>
<VoiceCaptureVue
:status="isVoiceCaptureExample"
:clipboard="true"
@voiceTranscript="returnVoiceTranscript"
@onStatus="s tatusVoiceCapture"
/>
Expand Down

0 comments on commit 1b9a102

Please sign in to comment.