UNPKG

@exadel/esl

Version:

Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components

25 lines (24 loc) 1.22 kB
import { ESLCarouselRenderer } from '../core/esl-carousel.renderer'; import type { ESLCarousel } from '../core/esl-carousel'; import type { ESLCarouselActionParams, ESLCarouselConfig, ESLCarouselDirection } from '../core/esl-carousel.types'; /** * None effect carousel renderer. Does not provide any animation, transition. Does not limit slide stage. * All slides considered as active. Count properly is ignored (always equal to the total slide count). */ export declare class ESLNoneCarouselRenderer extends ESLCarouselRenderer { static is: string; static classes: string[]; /** Always equal to slide count (redefined trough constructor) */ readonly count: number; constructor($carousel: ESLCarousel, options: ESLCarouselConfig); /** * Processes binding of defined renderer to the carousel {@link ESLCarousel}. * Prepare to renderer animation. */ onBind(): void; onUnbind(): void; /** Processes animation. */ onAnimate(nextIndex: number, direction: ESLCarouselDirection): Promise<void>; move(offset: number, from: number, params: ESLCarouselActionParams): void; commit(offset: number, from: number, params: ESLCarouselActionParams): Promise<void>; }