WordDialog
A draggable word lookup: a streamed LLM nuance explanation + dictionary definitions, with an optional "save clip" action when opened from a video. Shared by the player, text analyzer, and transcribe pages.
Interfaces¶
WordDialogProps¶
Defined in: src/shared/components/WordDialog.tsx:32
Properties¶
| Property | Type | Defined in |
|---|---|---|
cueEnd |
number |
src/shared/components/WordDialog.tsx:37 |
cueStart |
number |
src/shared/components/WordDialog.tsx:36 |
onClose |
() => void |
src/shared/components/WordDialog.tsx:35 |
sentence |
string |
src/shared/components/WordDialog.tsx:33 |
videoFile |
File | null |
src/shared/components/WordDialog.tsx:38 |
videoUrl? |
string |
src/shared/components/WordDialog.tsx:39 |
word |
string |
src/shared/components/WordDialog.tsx:34 |
Functions¶
WordDialog()¶
Defined in: src/shared/components/WordDialog.tsx:107
The WordDialog component.
Parameters¶
| Parameter | Type | Description |
|---|---|---|
props |
WordDialogProps |
The props. |
Returns¶
Element
The dialog.