Svelte · Overview
RelatedWidget
Related widget (#3718 record page): one tab per `children` relation, the tab label carrying the count ("Orders 6"), each tab a records table with role-chosen columns and a totals footer (`RecordTable`), and that tab's one "View all". Relations with no records are hidden; when every one is empty the widget says so once.Public export
typescript
import { RelatedWidget } from '@happyvertical/smrt-svelte/overview';- Import path
@happyvertical/smrt-svelte/overview- Props
- 8
- Props described
- 4 of 8
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
idstringYesNot describedoptionsOverviewOptionsYesNot describeddataData | undefinedYesNot describedspannumberYesNot describedtitlestringYesHeading shown by the frame (the `title` option, else the type title).localestringYesBCP-47 locale for number formatting.iconComponentComponent<{ name: string; size?: number; }>NoThe host's renderer for icon names that are not built in.presentation'card' | 'plain'NoHow the grid frames tiles right now (`card` when editing, whatever the grid's `presentation` is otherwise). Widgets that draw their own frame drop it under `plain`.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.