Appearance
wiz-image-with-text
wiz-image-with-text is a reusable Vue.js component designed to combine an image, text, and optional link into a styled module. This component can be used in contexts where visual representation and text description are required.
Text in wiz-image-with-text can be optionally wrapped in a link.
Learn more about components
Usage
Markup:
vue
<wiz-text-with-image></wiz-text-with-image>Properties
The following properties are available:
| Property | Type | Default value | Description |
|---|---|---|---|
imageAlt | string | Image | The text displayed on the layout if the image fails to load. |
imageSrc | string | N/A | A URL or path to the image file. |
link | string | N/A | A target link URL. |
text | string | Default placeholder text in "p" | Text to display with the image. HTML content is supported for rich formatting. |