overlay.directive.d.ts 1.2 KB

123456789101112131415161718192021222324
  1. import { DestroyRef, ElementRef, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
  2. import { Overlay } from '@angular/cdk/overlay';
  3. import { ComponentDisposition } from '../model/components/component-disposition.enum';
  4. import * as i0 from "@angular/core";
  5. export declare class OverlayDirective {
  6. private overlay;
  7. private elementRef;
  8. private viewContainerRef;
  9. private readonly destroyRef;
  10. private verticalPositions;
  11. private horizontalPositions;
  12. private overlayRef;
  13. contentTemplate: TemplateRef<any>;
  14. position: ComponentDisposition;
  15. opened: EventEmitter<void>;
  16. closed: EventEmitter<void>;
  17. constructor(overlay: Overlay, elementRef: ElementRef, viewContainerRef: ViewContainerRef, destroyRef: DestroyRef);
  18. show(): void;
  19. private openDropdown;
  20. private closeDropdown;
  21. private getOverlayPosition;
  22. static ɵfac: i0.ɵɵFactoryDeclaration<OverlayDirective, never>;
  23. static ɵdir: i0.ɵɵDirectiveDeclaration<OverlayDirective, "[ctOverlay]", never, { "contentTemplate": { "alias": "ctOverlay"; "required": false; }; "position": { "alias": "ctOverlayPosition"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
  24. }