@angular/material
Version:
Angular Material
23 lines (22 loc) • 739 B
TypeScript
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { ScrollStrategy } from './scroll-strategy';
import { OverlayRef } from '../overlay-ref';
import { ScrollDispatcher } from './scroll-dispatcher';
/**
* Strategy that will close the overlay as soon as the user starts scrolling.
*/
export declare class CloseScrollStrategy implements ScrollStrategy {
private _scrollDispatcher;
private _scrollSubscription;
private _overlayRef;
constructor(_scrollDispatcher: ScrollDispatcher);
attach(overlayRef: OverlayRef): void;
enable(): void;
disable(): void;
}