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

Svelte · Overview

WidgetOptionsForm

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

Public export

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

Props

NameTypeRequiredDescription
definitionRegisteredWidgetYesNot described
initialOverviewOptionsYesNot described
modelsreadonly { value: string; label: string; }[]NoNot described
onsave(options: OverviewOptions) => WidgetOptionIssue[] | nullYesNot described
oncancel() => voidYesNot described
optionsEditorComponent<WidgetOptionsEditorProps>NoNot described

Bindable state

This component has no bindable public state.

Callback events

  • onsave(options: OverviewOptions) => WidgetOptionIssue[] | null
  • oncancel() => void

Examples and explanation