UNPKG

@ngx-gallery/lightbox

Version:

Angular gallery directive that hooks the lightbox with the images automatically.

15 lines (14 loc) 490 B
import { ElementRef, OnInit, OnDestroy, Renderer2 } from '@angular/core'; import { SubscriptionLike } from 'rxjs'; import { Lightbox } from './lightbox.service'; export declare class LightboxDirective implements OnInit, OnDestroy { private _lightbox; private _el; private _renderer; clickEvent: SubscriptionLike; index: number; id: string; constructor(_lightbox: Lightbox, _el: ElementRef, _renderer: Renderer2); ngOnInit(): void; ngOnDestroy(): void; }