Image
FreeImage with required alternative text, fit modes, optional border and caption. Lazy loading is on by default.
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
Alt | string | Alternative text that describes the image (required). |
Bordered | bool | Draws a thin border. |
Caption | string | Text shown under the image or above the table. |
Class | string | Extra CSS classes added to the root element. |
Fit | ImageFit | How the image fills its box: Fill, Contain, Cover (default) or None. |
Height | string | Maximum height of the grid body, for example 24rem (default 28rem with VirtualScroll). |
Lazy | bool | Loads the image only when it is near the viewport (default true). |
Src | string | Image address. |
Style | string | Inline style added to the root element. |
Width | string | Skeleton: any CSS length. Charts: drawing width in SVG units (the chart still scales to its container). |
Package
Image is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.
Send feedbackVersion 1.0.3