@ngx-gallery/core
Version:
Angular gallery directive that hooks the lightbox with the images automatically.
18 lines (17 loc) • 372 B
TypeScript
import { GalleryAction } from './constants';
export interface GalleryState {
action?: GalleryAction;
items?: GalleryItem[];
currIndex?: number;
hasNext?: boolean;
hasPrev?: boolean;
isPlaying?: boolean;
}
export interface GalleryItem {
data?: any;
type?: string;
}
export interface GalleryError {
itemIndex: number;
error: Error;
}