1 | import { ElementRef, Renderer2, AfterViewInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
---|
2 | import * as i0 from "@angular/core";
|
---|
3 | import * as i1 from "@angular/common";
|
---|
4 | export declare class Lightbox implements AfterViewInit, OnDestroy {
|
---|
5 | el: ElementRef;
|
---|
6 | renderer: Renderer2;
|
---|
7 | private cd;
|
---|
8 | images: any[];
|
---|
9 | type: string;
|
---|
10 | style: any;
|
---|
11 | styleClass: string;
|
---|
12 | appendTo: any;
|
---|
13 | easing: 'ease-out';
|
---|
14 | effectDuration: any;
|
---|
15 | autoZIndex: boolean;
|
---|
16 | baseZIndex: number;
|
---|
17 | closeOnEscape: boolean;
|
---|
18 | visible: boolean;
|
---|
19 | loading: boolean;
|
---|
20 | currentImage: any;
|
---|
21 | captionText: string;
|
---|
22 | zindex: any;
|
---|
23 | panel: any;
|
---|
24 | index: number;
|
---|
25 | mask: any;
|
---|
26 | preventDocumentClickListener: boolean;
|
---|
27 | documentClickListener: any;
|
---|
28 | documentEscapeListener: any;
|
---|
29 | constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef);
|
---|
30 | onImageClick(event: any, image: any, i: any, content: any): void;
|
---|
31 | ngAfterViewInit(): void;
|
---|
32 | onLinkClick(event: any, content: any): void;
|
---|
33 | displayImage(image: any): void;
|
---|
34 | show(): void;
|
---|
35 | hide(event: any): void;
|
---|
36 | center(): void;
|
---|
37 | onImageLoad(event: any, content: any): void;
|
---|
38 | prev(placeholder: any): void;
|
---|
39 | next(placeholder: any): void;
|
---|
40 | bindGlobalListeners(): void;
|
---|
41 | unbindGlobalListeners(): void;
|
---|
42 | get leftVisible(): boolean;
|
---|
43 | get rightVisible(): boolean;
|
---|
44 | ngOnDestroy(): void;
|
---|
45 | static ɵfac: i0.ɵɵFactoryDeclaration<Lightbox, never>;
|
---|
46 | static ɵcmp: i0.ɵɵComponentDeclaration<Lightbox, "p-lightbox", never, { "images": "images"; "type": "type"; "style": "style"; "styleClass": "styleClass"; "appendTo": "appendTo"; "easing": "easing"; "effectDuration": "effectDuration"; "autoZIndex": "autoZIndex"; "baseZIndex": "baseZIndex"; "closeOnEscape": "closeOnEscape"; }, {}, never, ["a", "*"]>;
|
---|
47 | }
|
---|
48 | export declare class LightboxModule {
|
---|
49 | static ɵfac: i0.ɵɵFactoryDeclaration<LightboxModule, never>;
|
---|
50 | static ɵmod: i0.ɵɵNgModuleDeclaration<LightboxModule, [typeof Lightbox], [typeof i1.CommonModule], [typeof Lightbox]>;
|
---|
51 | static ɵinj: i0.ɵɵInjectorDeclaration<LightboxModule>;
|
---|
52 | }
|
---|