WidgetImage Type documentation¶
TypeScript declaration¶
Image is used to configure an image to be displayed on a widget instance. 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. objectPosition ? : The image URL (See <img>).import type { WidgetImage } from '@siemens/dashboards-ng';
string ¶
Types Documentation¶
ObjectFit configuration options for a widget image. See: https://developer.mozilla.org/en-US/docs/Web/CSS/object-fitimport type { ObjectFit } from '@siemens/dashboards-ng';
Except where otherwise noted, content on this site is licensed under MIT License.