UNPKG

@ipi-soft/ng-components

Version:

Custom Angular Components

23 lines (22 loc) 928 B
import { Injector } from '@angular/core'; import { FocusTrapFactory } from '@angular/cdk/a11y'; import { ScrollBlockService } from './scroll-block.service'; import * as i0 from "@angular/core"; export declare class OverlayService { private injector; private focusTrapFactory; private scrollBlockService; private document; constructor(injector: Injector, focusTrapFactory: FocusTrapFactory, scrollBlockService: ScrollBlockService, document: Document); private focusTrap; private blockActivated; private overlayElement; private overlayChildren; get overlay(): HTMLElement | null; appendToOverlay(content: HTMLElement, blockable?: boolean): void; removeFromOverlay(content: HTMLElement): void; private createOverlay; private removeOverlay; static ɵfac: i0.ɵɵFactoryDeclaration<OverlayService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<OverlayService>; }