v1.ReportBackgroundImage2
The image a box paints behind its content. It is drawn from a slot of its own, which is what keeps a backdrop fillable and gives it placeholder metadata, so it is written down with an id - or it names an image another box on the page already wrote down.
export interface ReportBackgroundImage2
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.ReportBackgroundImage2.alt_textproperty
alt_text?: string;
v1.ReportBackgroundImage2.assetproperty
asset?: Id49;
v1.ReportBackgroundImage2.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.ReportBackgroundImage2.idproperty
id: Id48;
v1.ReportBackgroundImage2.placeholderproperty
placeholder?: ReportSlotPlaceholder;
v1.ReportBackgroundImage2.styleproperty
style?: ReportImageStyle;
v1.ReportBackgroundImage2.urlproperty
Image URL, supporting {variables} - a logo uses {logo}. Mutually exclusive with asset.
url?: string;