# BaseCarousel

# Props

Prop name Description Type Values Default
items items to display

array of objects with the following required properties:
title ?string - the title to display.
subtext ?string - the text below the title.
description ?string - the type of item.
additional ?string - additional information (e.g. dates).
href string - an url to follow upon item click - this is required if item should be rendered
as a link element.
previews Object[]- an array of image urls in different sizes in the following form:
e.g. [{ '460w': 'image-url' }, { '640w': 'image url' },...]
array - []
swiperOptions specify swiper API options (opens new window) object - {}
renderLinkElementAs specify how the link element should be rendered -
this needs to be a valid vue link component (e.g. RouterLink, NuxtLink) and vue-router is necessary
string - 'RouterLink'

# Events

Event name Properties Description
initialized undefined boolean - was carousel initialized event triggered when slider is initialized
clicked undefined Object - the carousel item that was clicked event triggered by a ClickEvent on one of the carousel boxes

# Demo

Last Updated: 5/17/2023, 3:45:47 PM