UNPKG

@carbon/utilities

Version:

Utilities and helpers to drive consistency across software products using the Carbon Design System

15 lines (14 loc) 585 B
/** * Copyright IBM Corp. 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { InitCarousel, Config } from './types'; /** * Initializes a carousel with the given configuration. * @param carouselContainer - The HTMLElement representing the carousel container. * @param config - Optional configuration object. * @returns An object containing methods to control the carousel. */ export declare const initCarousel: (carouselContainer: HTMLElement, config?: Config) => InitCarousel;