ngx-image-viewer-3
Version:
This package is an updated version of the ngx-image-viewer package for Angular17.
35 lines (34 loc) • 854 B
TypeScript
export interface ImageViewerConfig {
btnClass?: string;
zoomFactor?: number;
containerBackgroundColor?: string;
wheelZoom?: boolean;
allowFullscreen?: boolean;
allowKeyboardNavigation?: 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: string, imageIndex: number);
}