UNPKG

@fnxone/ngx-photoswipe

Version:

[![Npm package version](https://img.shields.io/badge/npm-1.0.11-blue)](https://www.npmjs.com/package/@fnxone/ngx-photoswipe) [![Npm package yearly downloads](https://img.shields.io/badge/downloads-600%2Fyear-green)](https://www.npmjs.com/package/@fnxone/n

19 lines 880 B
import { ElementRef } from '@angular/core'; import * as PhotoSwipe from 'photoswipe'; import { Image } from '../../models/image.model'; import { NgxPhotoswipeService } from '../../services/ngx-photoswipe.service'; import { LightboxAdapter } from '../../adpters/lightbox-adapter'; import { GridGap } from '../../models/grid-gap.enum'; export declare class GalleryComponent { protected ngxPhotoswipeService: NgxPhotoswipeService; protected adapter: LightboxAdapter; galleryElement: ElementRef<HTMLDivElement>; images: Image[]; gridGap: GridGap; pswp: PhotoSwipe<any>; constructor(ngxPhotoswipeService: NgxPhotoswipeService, adapter: LightboxAdapter); onClickImage(data: Image, index: number): boolean; protected openPhotoSwipe(image: Image): boolean; protected getImagesAsPhotoSwipe(): any[]; } //# sourceMappingURL=gallery.component.d.ts.map