carousel-angular
Version:
A simple carousel component for Angular 14+ based on 'angular-responsive-carousel' by Ivy Laboratory http://ivylab.space
38 lines (37 loc) • 1.3 kB
TypeScript
import { Properties } from './interfaces';
export declare class Carousel {
private properties;
private utils;
private cells;
private container;
private slide;
cellsElement: HTMLElement | undefined;
visibleWidth: number;
autoplayId: any;
get cellLength(): any;
get lastCellIndex(): number;
get overflowCellsLimit(): any;
get autoplayIsPossible(): boolean;
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 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;
next(length?: number): void;
prev(length?: number): void;
isNextArrowDisabled: () => any;
isPrevArrowDisabled: () => any;
autoplay(): void;
stopAutoplay(): void;
}