[6a3a178] | 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 | */
|
---|
| 8 | import { OverlayReference } from '../overlay-reference';
|
---|
| 9 | import { Platform } from '@angular/cdk/platform';
|
---|
| 10 | import { BaseOverlayDispatcher } from './base-overlay-dispatcher';
|
---|
| 11 | /**
|
---|
| 12 | * Service for dispatching mouse click events that land on the body to appropriate overlay ref,
|
---|
| 13 | * if any. It maintains a list of attached overlays to determine best suited overlay based
|
---|
| 14 | * on event target and order of overlay opens.
|
---|
| 15 | */
|
---|
| 16 | import * as ɵngcc0 from '@angular/core';
|
---|
| 17 | export declare class OverlayOutsideClickDispatcher extends BaseOverlayDispatcher {
|
---|
| 18 | private _platform;
|
---|
| 19 | private _cursorOriginalValue;
|
---|
| 20 | private _cursorStyleIsSet;
|
---|
[e29cc2e] | 21 | private _pointerDownEventTarget;
|
---|
[6a3a178] | 22 | constructor(document: any, _platform: Platform);
|
---|
| 23 | /** Add a new overlay to the list of attached overlay refs. */
|
---|
| 24 | add(overlayRef: OverlayReference): void;
|
---|
| 25 | /** Detaches the global keyboard event listener. */
|
---|
| 26 | protected detach(): void;
|
---|
[e29cc2e] | 27 | /** Store pointerdown event target to track origin of click. */
|
---|
| 28 | private _pointerDownListener;
|
---|
[6a3a178] | 29 | /** Click event listener that will be attached to the body propagate phase. */
|
---|
| 30 | private _clickListener;
|
---|
| 31 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<OverlayOutsideClickDispatcher, never>;
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | //# sourceMappingURL=overlay-outside-click-dispatcher.d.ts.map |
---|