@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
28 lines (27 loc) • 989 B
TypeScript
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
import { TccResizeObserverService } from '../../../core/services/tcc-resize-observer/tcc-resize-observer.service';
export declare namespace tccCarousel {
enum direction {
right = 0,
left = 1
}
}
export declare class TccCarouselComponent implements AfterViewInit, OnDestroy {
private resizeService;
private changeDetectorRef;
private scrollContainer;
spaceBetween: boolean;
scrollDirection: typeof tccCarousel.direction;
private minDistanceLeft;
private currentScrollLeft;
private scrollStep;
private resizeSubscription;
containerFullLeft: boolean;
containerFullRight: boolean;
constructor(resizeService: TccResizeObserverService, changeDetectorRef: ChangeDetectorRef);
ngAfterViewInit(): void;
ngOnDestroy(): void;
scroll(direction: tccCarousel.direction): void;
private getRightScrollStep;
private getLeftScrollStep;
}