ngx-carousel-ease
Version:
ngx-carousel-ease is a versatile Angular library providing a feature-rich, simple, and performant carousel component. This library supports infinite and responsive mode, mouse and touch event. Attention has been put to accessibility, performance, and frie
14 lines (13 loc) • 581 B
TypeScript
export declare class Validation {
private readonly carousel;
private readonly slideWidth;
private readonly slideMaxWidth;
private readonly gap;
private readonly slideToScroll;
carouselSlides: NodeListOf<HTMLDivElement> | undefined;
constructor(carousel: HTMLDivElement, slideWidth: number, slideMaxWidth: number, gap: number, slideToScroll: number);
slideMaxWidthShouldBeGreaterThanSlideWidth(): void;
slideWidthAndGapShouldBeGreaterThanZero(): void;
requiredClassShouldBeAdded(): void;
slideToScrollNotGreaterThanTotalSlides(): void;
}