<dy-carousel>

A carousel is a slideshow component for cycling through elements—images or slides of text. It provides an interactive way to display multiple pieces of content in a limited space.

Example

API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type Description
crossorigin(crossorigin) Yes 'anonymous' | 'use-credentials'
interval(interval) Yes number
change Emitter<number>
data Yes CarouselItem[] @deprecated
items Yes CarouselItem[]
next () => void
prev () => void
jump (index: number) => void

Other

Type Value
Event change
Part img, title, tag, content, button, description, nav