Messages · Components
RecipientInput
No summary has been written for RecipientInput. Everything below is generated from the declaration shipped in 0.70.2 and describes the real contract.Public export
typescript
import { RecipientInput } from '@happyvertical/smrt-messages/svelte';- Import path
@happyvertical/smrt-messages/svelte- Props
- 5
- Props described
- 5 of 5
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.70.2
Props
NameTypeRequiredDescription
labelstringNoField label such as To, Cc, or Bcc.recipientsRecipientEntry[]YesArray of email recipients or addresses.onchange(recipients: RecipientEntry[]) => voidNoCalled when user adds or removes a recipient.placeholderstringNoPlaceholder text for the recipient input field.suggest(prefix: string) => Promise<RecipientEntry[]> | RecipientEntry[]NoAutocomplete source, usually backed by the host's `CorrespondentService.suggest()` for the signed-in user. Called with the text typed so far; omit it for a plain input.Bindable state
This component has no bindable public state.
Callback events
onchange(recipients: RecipientEntry[]) => void