source: trip-planner-front/node_modules/@angular/cdk/overlay/position/overlay-position-builder.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.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 { Platform } from '@angular/cdk/platform';
9import { ViewportRuler } from '@angular/cdk/scrolling';
10import { ElementRef } from '@angular/core';
11import { OverlayContainer } from '../overlay-container';
12import { OriginConnectionPosition, OverlayConnectionPosition } from './connected-position';
13import { ConnectedPositionStrategy } from './connected-position-strategy';
14import { FlexibleConnectedPositionStrategy, FlexibleConnectedPositionStrategyOrigin } from './flexible-connected-position-strategy';
15import { GlobalPositionStrategy } from './global-position-strategy';
16/** Builder for overlay position strategy. */
17import * as ɵngcc0 from '@angular/core';
18export declare class OverlayPositionBuilder {
19 private _viewportRuler;
20 private _document;
21 private _platform;
22 private _overlayContainer;
23 constructor(_viewportRuler: ViewportRuler, _document: any, _platform: Platform, _overlayContainer: OverlayContainer);
24 /**
25 * Creates a global position strategy.
26 */
27 global(): GlobalPositionStrategy;
28 /**
29 * Creates a relative position strategy.
30 * @param elementRef
31 * @param originPos
32 * @param overlayPos
33 * @deprecated Use `flexibleConnectedTo` instead.
34 * @breaking-change 8.0.0
35 */
36 connectedTo(elementRef: ElementRef, originPos: OriginConnectionPosition, overlayPos: OverlayConnectionPosition): ConnectedPositionStrategy;
37 /**
38 * Creates a flexible position strategy.
39 * @param origin Origin relative to which to position the overlay.
40 */
41 flexibleConnectedTo(origin: FlexibleConnectedPositionStrategyOrigin): FlexibleConnectedPositionStrategy;
42 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<OverlayPositionBuilder, never>;
43}
44
45//# sourceMappingURL=overlay-position-builder.d.ts.map
Note: See TracBrowser for help on using the repository browser.