CnHeaderWidgetForm
Config sub-form for the header widget — title, subtitle, background, overlay, CTA.
Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.
Reference
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
editingWidget | {content: object}|null | null | The placement being edited, or null in create mode. | |
value | object | \{ ...DEFAULT_CONTENT \} | Initial content values — used when not editing and the parent supplies registry defaults. | |
uploadFn | Function|null | null | Optional upload transport async (dataUrl) => ({ url }). When given, an uploaded background image is sent through it and the returned URL is stored; otherwise the file is embedded as a data URL (same-origin, so it isn't blocked by CSP the way external URLs are). |
Events
| Name | Payload | Description |
|---|---|---|
update:content | — | Emitted with the assembled content blob on every field change. |