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

Chat · Components

HelperControlPanel

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

Public export

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

Props

NameTypeRequiredDescription
clientHelperClientYesAuthenticated browser transport; only server snapshots become applied state.
registryHelperStyleRegistryYesTrusted style implementations available to this host.
snapshotHelperSnapshotNoOptional host-owned current snapshot. Absent snapshots load on mount.
loadPayload(offering: HelperOffering) => Promise<unknown>NoAuthenticated bridge for a selected offering's runtime payload. The payload is deliberately never persisted by this panel or preferences.
onchanged(snapshot: HelperSnapshot) => voidNoReceives each successful server-returned snapshot.
oncustomsaved(offering: HelperOffering) => voidNoNotifies the host after an authenticated custom setup creates an offering.

Bindable state

This component has no bindable public state.

Callback events

  • onchanged(snapshot: HelperSnapshot) => void
  • oncustomsaved(offering: HelperOffering) => void

Examples and explanation