export class LoopedCarousel { /** * Override default settings with custom user settings. * @param {Object} options - Optional settings object. * @returns {Object} - Custom user settings. */ static mergeSettings(options: any): any; /** * Determine if browser supports un-prefixed transform property. * Google Chrome since version 26 supports prefix-less transform * @returns {string} - Transform property supported by client. */ static webkitOrNot(): string; /** * Create a LoopedCarousel. * @param {Object} options - Optional settings object. */ constructor(options: any); config: any; selector: any; selectorWidth: any; innerElements: any; currentSlide: number; transformProperty: string; /** * Attaches listeners to required events. */ attachEvents(): void; pointerDown: boolean | undefined; drag: any; /** * Detaches listeners from required events. */ detachEvents(): void; /** * Builds the markup and attaches listeners to required events. */ init(): void; setAnimationInterval: NodeJS.Timeout | undefined; /** * Build a sliderFrame and slide to a current item. */ buildSliderFrame(): void; sliderFrame: HTMLDivElement | undefined; buildSliderFrameItem(elm: any): HTMLDivElement; /** * Determines the number of slides according to the clients viewport. */ resolveSlidesNumber(): void; perPage: any; /** * Go to previous slide. * @param {number} [howManySlides=1] - How many items to slide backward. * @param {function} callback - Optional callback function. */ prev(howManySlides?: number | undefined, callback: Function): void; /** * Go to next slide. * @param {number} [howManySlides=1] - How many items to slide forward. * @param {function} callback - Optional callback function. */ next(howManySlides?: number | undefined, callback: Function): void; /** * Disable transition on sliderFrame. */ disableTransition(): void; /** * Enable transition on sliderFrame. */ enableTransition(): void; /** * Go to slide with particular index * @param {number} index - Item index to slide to. * @param {function} callback - Optional callback function. */ goTo(index: number, callback: Function): void; /** * Moves sliders frame to position of currently active slide */ slideToCurrent(enableTransition: any): void; /** * Recalculate drag/swipe event and reposition the frame of a slider */ updateAfterDrag(): void; /** * When window resizes, resize slider components as well */ resizeHandler(): void; /** * Clear drag after touchend and mouseup event */ clearDrag(): void; /** * touchstart event handler */ touchstartHandler(e: any): void; /** * touchend event handler */ touchendHandler(e: any): void; /** * touchmove event handler */ touchmoveHandler(e: any): void; /** * mousedown event handler */ mousedownHandler(e: any): void; /** * mouseup event handler */ mouseupHandler(e: any): void; /** * mousemove event handler */ mousemoveHandler(e: any): void; /** * mouseleave event handler */ mouseleaveHandler(e: any): void; /** * click event handler */ clickHandler(e: any): void; /** * Remove item from carousel. * @param {number} index - Item index to remove. * @param {function} callback - Optional callback to call after remove. */ remove(index: number, callback: Function): void; /** * Insert item to carousel at particular index. * @param {HTMLElement} item - Item to insert. * @param {number} index - Index of new new item insertion. * @param {function} callback - Optional callback to call after insert. */ insert(item: HTMLElement, index: number, callback: Function): void; /** * Prepend item to carousel. * @param {HTMLElement} item - Item to prepend. * @param {function} callback - Optional callback to call after prepend. */ prepend(item: HTMLElement, callback: Function): void; /** * Append item to carousel. * @param {HTMLElement} item - Item to append. * @param {function} callback - Optional callback to call after append. */ append(item: HTMLElement, callback: Function): void; /** * Removes listeners and optionally restores to initial markup * @param {boolean} restoreMarkup - Determines if the program should restore initial markup. * @param {function} callback - Optional callback function. */ destroyInstance(restoreMarkup: boolean | undefined, callback: Function): void; } //# sourceMappingURL=looped.d.ts.map