UNPKG

angular-gallery

Version:

Responsive gallery for Angular with touch screen support.

79 lines (78 loc) 2.75 kB
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, SimpleChanges } from '@angular/core'; import { Images } from './interfaces'; import { OverlayProperties } from './overlay/interfaces'; import { EventService as OverlayEventService } from './overlay/event.service'; export declare class CarouselComponent implements OnDestroy { private elementRef; private ref; private overlayEventService; _id: string; _images: Images; touches: any; carousel: any; landscapeMode: any; minTimeout: number; isVideoPlaying: boolean; _isCounter: boolean; _width: number; _cellWidth: number | '100%'; isMoving: boolean; _properties: OverlayProperties; _transitionDuration: number; get isLandscape(): boolean; get isSafari(): any; get counter(): string; set images(images: Images & any); get images(): Images & any; get isNgContent(): boolean; events: EventEmitter<any>; height: number; width: number; borderRadius: number; margin: number; objectFit: 'contain' | 'cover' | 'none'; minSwipeDistance: number; set transitionDuration(value: number); get transitionDuration(): number; transitionTimingFunction: 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'; videoProperties: any; counterSeparator: string; overflowCellsLimit: number; listeners: 'auto' | 'mouse and touch'; set cellWidth(value: number | '100%'); set isCounter(value: boolean); get isCounter(): boolean; arrows: boolean; arrowsOutside: boolean; arrowsTheme: 'light' | 'dark'; set overlayProperties(properties: OverlayProperties); get properties(): OverlayProperties; get cellLimit(): any; hostClassCarousel: boolean; hostStyleHeight: string; hostStyleWidth: string; onWindowResize(event: any): void; constructor(elementRef: ElementRef, ref: ChangeDetectorRef, overlayEventService: OverlayEventService); ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; initCarousel(): void; setDimensions(): void; getFile(index: any): any; handleTouchstart: (event: any) => void; handleHorizontalSwipe: (event: any) => void; handleTouchend: (event: any) => void; handleTap: (event: any) => void; handleTransitionendCellContainer(event: any): void; toggleVideo(video: any): void; getCurrentIndex(): any; getCellWidth(): number; next(): void; prev(): void; select(index: number): void; isNextArrowDisabled(): any; isPrevArrowDisabled(): any; close(): void; setInitialIndex(): void; }