The VSlider
component is a customizable carousel for displaying content. It is built on the carousel component and extends its functionality with autoplay and fade effects, powered by embla-carousel
plugins.
Prop | Type | Default | Description |
---|
variant | String | default | Sets the slider variant ('default' or 'autoplay' ). |
autoplay | Boolean | false | Enables autoplay functionality. |
fade | Boolean | false | Enables fade transition between slides. |
autoplayChangeTime | Number | 6000 | Duration (in ms) for autoplay slide transition. |
options | Object | {} | Additional options to configure the carousel. |
Event | Description |
---|
slideChange | Emitted when the slide changes. |
Slot Name | Description |
---|
default | Slot for custom content inside the slider. |