source: trip-planner-front/node_modules/@angular/cdk/overlay/dispatchers/base-overlay-dispatcher.d.ts.__ivy_ngcc_bak@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { OnDestroy } from '@angular/core';
9import { OverlayReference } from '../overlay-reference';
10/**
11 * Service for dispatching events that land on the body to appropriate overlay ref,
12 * if any. It maintains a list of attached overlays to determine best suited overlay based
13 * on event target and order of overlay opens.
14 */
15export declare abstract class BaseOverlayDispatcher implements OnDestroy {
16 /** Currently attached overlays in the order they were attached. */
17 _attachedOverlays: OverlayReference[];
18 protected _document: Document;
19 protected _isAttached: boolean;
20 constructor(document: any);
21 ngOnDestroy(): void;
22 /** Add a new overlay to the list of attached overlay refs. */
23 add(overlayRef: OverlayReference): void;
24 /** Remove an overlay from the list of attached overlay refs. */
25 remove(overlayRef: OverlayReference): void;
26 /** Detaches the global event listener. */
27 protected abstract detach(): void;
28}
Note: See TracBrowser for help on using the repository browser.