source: trip-planner-front/node_modules/@angular/cdk/overlay/scroll/scroll-strategy-options.d.ts@ 571e0df

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

initial commit

  • Property mode set to 100644
File size: 1.9 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 { ScrollDispatcher, ViewportRuler } from '@angular/cdk/scrolling';
9import { NgZone } from '@angular/core';
10import { BlockScrollStrategy } from './block-scroll-strategy';
11import { CloseScrollStrategy, CloseScrollStrategyConfig } from './close-scroll-strategy';
12import { NoopScrollStrategy } from './noop-scroll-strategy';
13import { RepositionScrollStrategy, RepositionScrollStrategyConfig } from './reposition-scroll-strategy';
14/**
15 * Options for how an overlay will handle scrolling.
16 *
17 * Users can provide a custom value for `ScrollStrategyOptions` to replace the default
18 * behaviors. This class primarily acts as a factory for ScrollStrategy instances.
19 */
20import * as ɵngcc0 from '@angular/core';
21export declare class ScrollStrategyOptions {
22 private _scrollDispatcher;
23 private _viewportRuler;
24 private _ngZone;
25 private _document;
26 constructor(_scrollDispatcher: ScrollDispatcher, _viewportRuler: ViewportRuler, _ngZone: NgZone, document: any);
27 /** Do nothing on scroll. */
28 noop: () => NoopScrollStrategy;
29 /**
30 * Close the overlay as soon as the user scrolls.
31 * @param config Configuration to be used inside the scroll strategy.
32 */
33 close: (config?: CloseScrollStrategyConfig | undefined) => CloseScrollStrategy;
34 /** Block scrolling. */
35 block: () => BlockScrollStrategy;
36 /**
37 * Update the overlay's position on scroll.
38 * @param config Configuration to be used inside the scroll strategy.
39 * Allows debouncing the reposition calls.
40 */
41 reposition: (config?: RepositionScrollStrategyConfig | undefined) => RepositionScrollStrategy;
42 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<ScrollStrategyOptions, never>;
43}
44
45//# sourceMappingURL=scroll-strategy-options.d.ts.map
Note: See TracBrowser for help on using the repository browser.