angular-gallery
Version:
Responsive gallery for Angular with touch screen support.
23 lines (22 loc) • 547 B
TypeScript
export interface Images {
[index: number]: {
path: string;
width?: number;
height?: number;
};
}
export interface Image {
path: string;
width?: number;
height?: number;
}
export interface GalleryProperties {
minSwipeDistance?: number;
transitionDuration?: number;
transitionTimingFunction?: 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear';
counter?: boolean;
counterSeparator?: string;
arrows?: boolean;
index?: number;
images: Images;
}