dynamicdialog.d.ts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. import { Type, ComponentFactoryResolver, OnDestroy, ComponentRef, AfterViewInit, ChangeDetectorRef, Renderer2, NgZone, ElementRef } from '@angular/core';
  2. import { AnimationEvent } from '@angular/animations';
  3. import { DynamicDialogContent } from './dynamicdialogcontent';
  4. import { DynamicDialogConfig } from './dynamicdialog-config';
  5. import { DynamicDialogRef } from './dynamicdialog-ref';
  6. export declare class DynamicDialogComponent implements AfterViewInit, OnDestroy {
  7. private componentFactoryResolver;
  8. private cd;
  9. renderer: Renderer2;
  10. config: DynamicDialogConfig;
  11. private dialogRef;
  12. zone: NgZone;
  13. visible: boolean;
  14. componentRef: ComponentRef<any>;
  15. mask: HTMLDivElement;
  16. insertionPoint: DynamicDialogContent;
  17. maskViewChild: ElementRef;
  18. childComponentType: Type<any>;
  19. container: HTMLDivElement;
  20. documentEscapeListener: Function;
  21. constructor(componentFactoryResolver: ComponentFactoryResolver, cd: ChangeDetectorRef, renderer: Renderer2, config: DynamicDialogConfig, dialogRef: DynamicDialogRef, zone: NgZone);
  22. ngAfterViewInit(): void;
  23. onOverlayClicked(evt: MouseEvent): void;
  24. onDialogClicked(evt: MouseEvent): void;
  25. loadChildComponent(componentType: Type<any>): void;
  26. moveOnTop(): void;
  27. onAnimationStart(event: AnimationEvent): void;
  28. onAnimationEnd(event: AnimationEvent): void;
  29. onContainerDestroy(): void;
  30. close(): void;
  31. onMaskClick(): void;
  32. bindGlobalListeners(): void;
  33. unbindGlobalListeners(): void;
  34. bindDocumentEscapeListener(): void;
  35. unbindDocumentEscapeListener(): void;
  36. ngOnDestroy(): void;
  37. }
  38. export declare class DynamicDialogModule {
  39. }