CnImageWidgetForm
Config sub-form for the image widget — URL, alt text, link, object-fit.
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. Pre-fills every control from editingWidget.content. | |
value | object | \{ ...DEFAULT_CONTENT \} | Initial content values — used when not editing and the parent supplies registry defaults. | |
uploadFn | Function | null | Optional async uploader (file) => url; when set, an upload control supplements the image-URL field. |
Events
| Name | Payload | Description |
|---|---|---|
update:content | — | Emitted with the assembled {url, alt, link, fit} blob on every field change. |