source: trip-planner-front/node_modules/@angular/cdk/overlay/position/overlay-position-builder.d.ts.__ivy_ngcc_bak

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

initial commit

  • Property mode set to 100644
File size: 1.8 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. */
17export declare class OverlayPositionBuilder {
18 private _viewportRuler;
19 private _document;
20 private _platform;
21 private _overlayContainer;
22 constructor(_viewportRuler: ViewportRuler, _document: any, _platform: Platform, _overlayContainer: OverlayContainer);
23 /**
24 * Creates a global position strategy.
25 */
26 global(): GlobalPositionStrategy;
27 /**
28 * Creates a relative position strategy.
29 * @param elementRef
30 * @param originPos
31 * @param overlayPos
32 * @deprecated Use `flexibleConnectedTo` instead.
33 * @breaking-change 8.0.0
34 */
35 connectedTo(elementRef: ElementRef, originPos: OriginConnectionPosition, overlayPos: OverlayConnectionPosition): ConnectedPositionStrategy;
36 /**
37 * Creates a flexible position strategy.
38 * @param origin Origin relative to which to position the overlay.
39 */
40 flexibleConnectedTo(origin: FlexibleConnectedPositionStrategyOrigin): FlexibleConnectedPositionStrategy;
41}
Note: See TracBrowser for help on using the repository browser.