UNPKG

@twogate/ngx-photo-gallery

Version:

PhotoGallery library for Angular based on [PhotoSwipe](http://photoswipe.com/).

18 lines (17 loc) 1.02 kB
import { ElementRef, AfterContentInit, OnDestroy } from '@angular/core'; import { PhotoGalleryGroupDirective } from './photo-gallery-group.directive'; import * as i0 from "@angular/core"; export declare class PhotoGalleryDirective implements AfterContentInit, OnDestroy { private el; private photoGalleryGroup; imageUrl: string; photoGalleryTrackBy: string; photoGalleryCaption: string; id: string; constructor(el: ElementRef, photoGalleryGroup: PhotoGalleryGroupDirective); openPhotoSwipe(): Promise<void>; ngAfterContentInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<PhotoGalleryDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<PhotoGalleryDirective, "[photoGallery]", never, { "imageUrl": { "alias": "photoGallery"; "required": false; }; "photoGalleryTrackBy": { "alias": "photoGalleryTrackBy"; "required": false; }; "photoGalleryCaption": { "alias": "photoGalleryCaption"; "required": false; }; }, {}, never, never, false, never>; }