@clarivate/angular-image-viewer
Version:
A configurable Angular image viewer component, compatible with Angular 7.x+
31 lines (30 loc) • 751 B
TypeScript
export interface ImageViewerConfig {
btnClass?: string;
zoomFactor?: number;
containerBackgroundColor?: string;
primaryColor?: 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;
}>;
}