Image
A lazy image that keeps its space.
IzzyBlazor.Image in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (8)
Srcstring requiredThe image URL.
Altstring requiredWhat the image shows, for screen readers and when it fails to load. Use "" for a purely decorative image.
IntrinsicWidthint?The image's own width in pixels, so the browser reserves its space before it loads.
IntrinsicHeightint?The image's own height in pixels. See IntrinsicWidth.
Ratiodouble?A shape to show it in, width over height, such as 16 / 9.0 or 1; the image fills it per Fit.
FitImageFit = ImageFit.CoverHow it fills a Ratio of a different shape. Defaults to ImageFit.Cover.
Lazybool = trueLoads only when the image nears the screen. Defaults to true; set false for the first image on a page.
Captionstring?A caption under the image; wraps it in a figure.
Events (0)
No events.