lightbox.d.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import { ElementRef, Renderer2, AfterViewInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
  2. export declare class Lightbox implements AfterViewInit, OnDestroy {
  3. el: ElementRef;
  4. renderer: Renderer2;
  5. private cd;
  6. images: any[];
  7. type: string;
  8. style: any;
  9. styleClass: string;
  10. appendTo: any;
  11. easing: 'ease-out';
  12. effectDuration: any;
  13. autoZIndex: boolean;
  14. baseZIndex: number;
  15. closeOnEscape: boolean;
  16. visible: boolean;
  17. loading: boolean;
  18. currentImage: any;
  19. captionText: string;
  20. zindex: any;
  21. panel: any;
  22. index: number;
  23. mask: any;
  24. preventDocumentClickListener: boolean;
  25. documentClickListener: any;
  26. documentEscapeListener: any;
  27. constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef);
  28. onImageClick(event: any, image: any, i: any, content: any): void;
  29. ngAfterViewInit(): void;
  30. onLinkClick(event: any, content: any): void;
  31. displayImage(image: any): void;
  32. show(): void;
  33. hide(event: any): void;
  34. center(): void;
  35. onImageLoad(event: any, content: any): void;
  36. prev(placeholder: any): void;
  37. next(placeholder: any): void;
  38. bindGlobalListeners(): void;
  39. unbindGlobalListeners(): void;
  40. readonly leftVisible: boolean;
  41. readonly rightVisible: boolean;
  42. ngOnDestroy(): void;
  43. }
  44. export declare class LightboxModule {
  45. }