Image
Description
A responsive image element with optional sizing, fit-mode and lazy-loading support. Use the fluent helpers to set fit behaviour (Cover, Contain), an explicit width / height, or a fallback src shown while the primary image loads.
Usage
API reference
public class Image : ComponentBase<Image, HTMLImageElement>, ISpecialCaseStyling, IHasBackgroundColorA responsive image element with optional sizing, fit-mode and lazy-loading support.
Constructors
Properties
public HTMLElement StylingContainerGets or sets the styling container.
public bool PropagateToStackItemParent { get; private set; }Gets or sets the propagate to stack item parent.
public string Cursor { get ; set ; }Gets or sets the CSS cursor of the component.
Methods
public Image Position(string objectPosition)Configures the component to position.