VCarouselItem API
name | type | default |
|---|---|---|
boolean
| false | |
Applies position: absolute to the component. | ||
string
| undefined | |
Alternate text for screen readers. Leave empty for decorative images. | ||
string | number | undefined | |
Calculated as | ||
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
any
| undefined | |
Apply a custom class to the internal content element. | ||
boolean
| false | |
Resizes the background image to cover the entire container. | ||
'' | 'anonymous' | 'use-credentials' | undefined | |
Specify that images should be fetched with CORS enabled MDN | ||
boolean
| false | |
Prevents the item from becoming active when using the “next” and “prev” buttons or the | ||
boolean | 'true' | 'false' | undefined | |
Controls the | ||
boolean
| false | |
Forces the component’s content to render when it mounts. This is useful if you have content that will not be rendered in the DOM that you want crawled for SEO. | ||
string
| undefined | |
The gradient to apply to the image. Only supports linear-gradient syntax, anything else should be done with classes. | ||
string | number | undefined | |
Sets the height for the component. | ||
any
| undefined | |
Applies CSS classes to the inner | ||
boolean
| false | |
Display as an inline element instead of a block, also disables flex-grow. | ||
string
| undefined | |
Something to show while waiting for the main image to load, typically a small base64-encoded thumbnail. Has a slight blur filter applied. | ||
string | number | undefined | |
Sets the maximum height for the component. | ||
string | number | undefined | |
Sets the maximum width for the component. | ||
string | number | undefined | |
Sets the minimum height for the component. | ||
string | number | undefined | |
Sets the minimum width for the component. | ||
IntersectionObserverInit | { root: undefined, rootMargin: undefined, threshold: undefined } | |
Options that are passed to the Intersection observer constructor. | ||
string
| undefined | |
Applies object-position styles to the image and placeholder elements. | ||
| 'origin' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' | undefined | |
Define which referrer is sent when fetching the resource MDN | ||
string | boolean | undefined | |
Sets the reverse transition. | ||
string | number | boolean | undefined | |
Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page. | ||
string
| undefined | |
Configure the active CSS class applied when an item is selected. | ||
string
| undefined | |
For use with | ||
| string | { src: string; srcset: string; lazySrc: string; aspect: number } | ||
The image URL. This prop is mandatory. | ||
string
| undefined | |
A set of alternate images to use based on device size. Read more…. | ||
boolean
| false | |
Removes any applied border-radius from the component. | ||
string | boolean | undefined | |
The transition to use when switching from | ||
any
| undefined | |
The value used when the component is selected in a group. If not provided, a unique ID will be used. | ||
string | number | undefined | |
Sets the width for the component. | ||
The default Vue slot. | ||
Will be shown if the image fails to load, replacing the placeholder slot. | ||
Display an overlay while the image is loading. | ||
A list of | ||