angular-responsive-carousel
Version:
Carousel for Angular. A simple solution for horizontal scrolling images with lazy loading.
50 lines (49 loc) • 1.69 kB
TypeScript
import { Properties } from './interfaces';
export declare class Carousel {
private properties;
private utils;
private cells;
private container;
private slide;
cellsElement: HTMLElement | undefined;
isSlideLengthLimited: boolean;
isContentImages: boolean;
visibleWidth: number;
isLazyLoad: boolean;
isContainerLocked: boolean;
alignCells: "left" | "center";
initialContainerPosition: number;
autoplayId: any;
containerPullLimit: number;
get cellLength(): any;
get cellLengthInLightDOMMode(): any;
get lastCellIndex(): number;
get overflowCellsLimit(): any;
get cellLimit(): any;
get isLightDOM(): boolean;
get images(): any;
get margin(): number;
get minSwipeDistance(): number;
get transitionDuration(): number;
get transitionTimingFunction(): "linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out";
get fullCellWidth(): number;
get numberOfVisibleCells(): any;
get lapCounter(): number;
get slideCounter(): any;
constructor(properties: Properties, utils: any, cells: any, container: any, slide: any);
updateProperties(properties: Properties): void;
init(): void;
destroy(): void;
lineUpCells(): void;
handleTouchstart: (event: any) => void;
handleHorizontalSwipe: (event: any) => void;
handleTouchend: (event: any) => void;
handleTransitionend(): void;
getImage(index: number): any;
next(length?: number): void;
prev(length?: number): void;
isNextArrowDisabled: () => any;
isPrevArrowDisabled: () => any;
autoplay(): void;
stopAutoplay(): void;
}