s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Chat · Components

HeardCaptions

No summary has been written for HeardCaptions. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { HeardCaptions } from '@happyvertical/smrt-chat/svelte';
Import path
@happyvertical/smrt-chat/svelte
Props
6
Props described
6 of 6
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

NameTypeRequiredDescription
enabledbooleanNoShows captions when the host enables this speaker surface.
linesCaptionLine[]NoCompleted caption lines in chronological order.
interimstringNoCurrent unfinished transcript displayed without live announcement.
placement'bottom' | 'inline'No`bottom` overlays an app; `inline` belongs in a panel.
maxLinesnumberNoMaximum number of completed lines retained on screen.
speakerLabelstringNoLocalized visible and accessible label identifying the speaker.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation