WidgetImage Type documentation¶
TypeScript declaration¶
import type { WidgetImage } from '@siemens/dashboards-ng';Image is used to configure an image to be displayed on a widget instance.
Properties¶
-
The HTMLImageElement property alt provides fallback (alternate) text to display when the image specified by the <img> element is not loaded.
-
Defines if an image is placed on top or start (left) of the card.
-
Sets the image object-fit CSS property.
-
Sets the image object-position CSS property.
-
The image URL (See <img>).
Types Documentation¶
import type { ObjectFit } from '@siemens/dashboards-ng';ObjectFit configuration options for a widget image.
See: https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
Except where otherwise noted, content on this site is licensed under MIT License.