import type Carousel from "./Carousel.js"; import Icon from "./Icon.js"; import slimArrowLeft from "@ui5/webcomponents-icons/dist/slim-arrow-left.js"; import slimArrowRight from "@ui5/webcomponents-icons/dist/slim-arrow-right.js"; export default function CarouselTemplate(this: Carousel) { return (
{this.items.map((itemInfo, i) =>
)}
{this.showArrows.content && }
{this.renderNavigation &&
{this.showArrows.navigation && arrowBack.call(this)} {this.showArrows.navigation && arrowForward.call(this)}
}
); } function arrowBack(this: Carousel) { return ; } function arrowForward(this: Carousel) { return ; } function navIndicator(this: Carousel) { return this.isPageTypeDots ? this.dots.map(dot => ) : ; }