overlay.directive.d.ts 1.3 KB

12345678910111213141516171819202122232425
  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. closeOnClick: boolean;
  16. opened: EventEmitter<void>;
  17. closed: EventEmitter<void>;
  18. constructor(overlay: Overlay, elementRef: ElementRef, viewContainerRef: ViewContainerRef, destroyRef: DestroyRef);
  19. show(): void;
  20. private openDropdown;
  21. private closeDropdown;
  22. private getOverlayPosition;
  23. static ɵfac: i0.ɵɵFactoryDeclaration<OverlayDirective, never>;
  24. static ɵdir: i0.ɵɵDirectiveDeclaration<OverlayDirective, "[ctOverlay]", never, { "contentTemplate": { "alias": "ctOverlay"; "required": false; }; "position": { "alias": "ctOverlayPosition"; "required": false; }; "closeOnClick": { "alias": "ctOverlayCloseOnClick"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
  25. }