UNPKG

@udhsin/ngx-image-viewer

Version:

A configurable Angular image viewer component, compatible with Angular 2+

36 lines (35 loc) 910 B
export interface ImageViewerConfig { btnClass?: string; zoomFactor?: number; containerBackgroundColor?: string; wheelZoom?: boolean; allowFullscreen?: boolean; allowKeyboardNavigation?: boolean; alignCenter?: boolean; btnShow?: { zoomIn?: boolean; zoomOut?: boolean; rotateClockwise?: boolean; rotateCounterClockwise?: boolean; next?: boolean; prev?: boolean; }; btnIcons?: { zoomIn?: string; zoomOut?: string; rotateClockwise?: string; rotateCounterClockwise?: string; next?: string; prev?: string; fullscreen?: string; }; customBtns?: Array<{ name: string; icon: string; }>; } export declare class CustomEvent { name: string; imageIndex: number; constructor(name: any, imageIndex: any); }