source: trip-planner-front/node_modules/@angular/cdk/overlay/overlay-reference.d.ts@ 6c1585f

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

initial commit

  • Property mode set to 100644
File size: 1.4 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 { Portal } from '@angular/cdk/portal';
9import { Direction, Directionality } from '@angular/cdk/bidi';
10import { Observable, Subject } from 'rxjs';
11/**
12 * Basic interface for an overlay. Used to avoid circular type references between
13 * `OverlayRef`, `PositionStrategy` and `ScrollStrategy`, and `OverlayConfig`.
14 * @docs-private
15 */
16export interface OverlayReference {
17 attach: (portal: Portal<any>) => any;
18 detach: () => any;
19 dispose: () => void;
20 overlayElement: HTMLElement;
21 hostElement: HTMLElement;
22 backdropElement: HTMLElement | null;
23 getConfig: () => any;
24 hasAttached: () => boolean;
25 updateSize: (config: any) => void;
26 updatePosition: () => void;
27 getDirection: () => Direction;
28 setDirection: (dir: Direction | Directionality) => void;
29 backdropClick: () => Observable<MouseEvent>;
30 attachments: () => Observable<void>;
31 detachments: () => Observable<void>;
32 keydownEvents: () => Observable<KeyboardEvent>;
33 outsidePointerEvents: () => Observable<MouseEvent>;
34 addPanelClass: (classes: string | string[]) => void;
35 removePanelClass: (classes: string | string[]) => void;
36 readonly _outsidePointerEvents: Subject<MouseEvent>;
37 readonly _keydownEvents: Subject<KeyboardEvent>;
38}
Note: See TracBrowser for help on using the repository browser.