@cbpds/web-components
Version:
Web components for the CBP Design System.
18 lines (17 loc) • 456 B
TypeScript
export declare class CbpCarousel {
private control;
private items;
host: HTMLElement;
height: string;
width: string;
current: number;
sx: any;
context: "light-inverts" | "light-always" | "dark-inverts" | "dark-always";
watchCurrent(): void;
navigateCollection(e: any): void;
handleResize(): void;
scrollToItem(): void;
updateCurrent(index: any): void;
componentWillLoad(): void;
render(): any;
}