rImage
Our custom image component. You can define fallback image. It handles errors during load of the images. If none of the provided images loads it displays provided default image.
Props
Name | Type | Default | Required | Description |
---|---|---|---|---|
src | String | '' | ❌ | Source of the image |
fallbackSrc | String | '' | ❌ | Fallback source of the image |
alt | String | '' | ✅ | Alt of image |
title | String | '' | ✅ | Title of image |
Code Snippets
vue
<RImage src="#" fallbackSrc="#" alt="Alt" title="Title" />