/* * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * The `lightning/carousel` component displays a collection of images that are displayed one at a time. * This component accepts up to 5 lightning-carousel-image components in its default slot. * @see {@link https://developer.salesforce.com/docs/component-library/bundle/lightning-carousel/documentation |Lightning Carousel Documentation} */ declare module "lightning/carousel" { import { LightningElement } from "lwc"; /** * A component that displays a a collection of images that are displayed one at a time. */ export default class LightningCarousel extends LightningElement { /** * If present, images do not automatically scroll and users must click the indicators to scroll. * This value defaults to false. */ disableAutoScroll: boolean; /** * If present, the carousel doesn't loop after the last image is displayed. * This value defaults to false. */ disableAutoRefresh: boolean; /** * The auto scroll duration in seconds. The default is 5 seconds, after which the next image is displayed. * This value defaults to 5. */ scrollDuration: number; } }