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

Messages · Components

EmailAccountManager

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

Public export

typescript
import { EmailAccountManager } from '@happyvertical/smrt-messages/svelte';
Import path
@happyvertical/smrt-messages/svelte
Props
5
Props described
5 of 5
Bindable state
0
Callback events
3
Verified release
0.44.0

Props

NameTypeRequiredDescription
accountsEmailAccountData[]YesArray of email accounts to display and manage.
readonlybooleanNoDisables editing and deletion when true; view-only mode.
onsave(data: Partial<EmailAccountData>, id?: string) => Promise<void>NoCalled when user saves an account's settings.
ondelete(account: EmailAccountData) => Promise<void>NoCalled when user deletes an account.
ontest(account: EmailAccountData) => Promise<{ success: boolean; error?: string; }>NoCalled when user tests account credentials.

Bindable state

This component has no bindable public state.

Callback events

  • onsave(data: Partial<EmailAccountData>, id?: string) => Promise<void>
  • ondelete(account: EmailAccountData) => Promise<void>
  • ontest(account: EmailAccountData) => Promise<{ success: boolean; error?: string; }>

Examples and explanation