<tap-carousel>
A horizontally swipeable carousel, each item has a label and content, the content can be a string or a TemplateResult.
Example
Loading...
<tap-carousel
style=${"width: 100%;"}
.label=${"Featured"}
.items=${ [ {"label":"Slide 1","content":"Slide 1"}, {"label":"Slide 2","content":"Slide 2"}, {"label":"Slide 3","content":"Slide 3"} ] }></tap-carousel>
API
Extends GemElement
Instance Properties
| Property(Attribute) | Reactive | Type |
|---|---|---|
label(label) |
Yes | string |
items |
Yes | CarouselItem[] |
