interface
Source: metadata.ts ↗
v1.ReportImage2
A bare string is the image URL. Anything more is written as a mapping. The id belongs to whatever draws the image, not to the image itself.
export interface ReportImage2
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (Optional) | ||
(Optional) | |||
“contain” | “cover” | “fill” | (Optional) How the image fills its area: kept whole inside it, filling it and cropped to do so, or stretched to its shape. Defaults to contain. | ||
(Optional) | |||
(Optional) | |||
string | (Optional) Image URL, supporting {variables} - a logo uses {logo}. Mutually exclusive with asset. |
Property details
v1.ReportImage2.alt_textproperty
alt_text?: string;
v1.ReportImage2.assetproperty
asset?: Id51;
v1.ReportImage2.fitproperty
How the image fills its area: kept whole inside it, filling it and cropped to do so, or stretched to its shape. Defaults to contain.
fit?: "contain" | "cover" | "fill";
v1.ReportImage2.placeholderproperty
placeholder?: ReportSlotPlaceholder;
v1.ReportImage2.styleproperty
style?: ReportImageStyle;
v1.ReportImage2.urlproperty
Image URL, supporting {variables} - a logo uses {logo}. Mutually exclusive with asset.
url?: string;