CnImageWidget
Image widget with object-fit modes, optional link, and graceful error/placeholder state.
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 |
|---|---|---|---|---|
content | {url: string, alt: string, link: string, fit: string} | \{\} | Persisted widget content blob: {url, alt, link, fit}. | |
fit | 'cover'|'contain'|'fill'|'none'|undefined | undefined | Optional object-fit override; restricted to the four supported CSS values. An unknown value falls back to 'cover'. |