Svelte · Settings
PrebuiltComponentsSettings
No summary has been written for PrebuiltComponentsSettings. Everything below is generated from the declaration shipped in 0.70.2 and describes the real contract.Public export
typescript
import { PrebuiltComponentsSettings } from '@happyvertical/smrt-svelte/settings';- Import path
@happyvertical/smrt-svelte/settings- Props
- 6
- Props described
- 6 of 6
- Bindable state
- 0
- Callback events
- 2
- Verified release
- 0.70.2
Props
NameTypeRequiredDescription
enabledbooleanYesWhether prebuilt components are currently turned on.onsave(enabled: boolean) => Promise<void>YesPersists the new setting; reject to put the toggle back and show an error.approvalsAssistantApprovalView[]NoServer-loaded owner approvals still waiting on a decision.transportAssistantTransportNoConnection for deciding approvals; without it the approvals list is not shown.ondecided() => void | Promise<void>NoCalled after an owner decision is accepted, to refresh the page.restartHrefstringNoWhere "run onboarding again" goes. Default `/onboarding?restart=1`.Bindable state
This component has no bindable public state.
Callback events
onsave(enabled: boolean) => Promise<void>ondecided() => void | Promise<void>