Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
712 bytes
|
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 | */
|
---|
8 | import { OverlayReference } from '../overlay-reference';
|
---|
9 | /** Strategy for setting the position on an overlay. */
|
---|
10 | export interface PositionStrategy {
|
---|
11 | /** Attaches this position strategy to an overlay. */
|
---|
12 | attach(overlayRef: OverlayReference): void;
|
---|
13 | /** Updates the position of the overlay element. */
|
---|
14 | apply(): void;
|
---|
15 | /** Called when the overlay is detached. */
|
---|
16 | detach?(): void;
|
---|
17 | /** Cleans up any DOM modifications made by the position strategy, if necessary. */
|
---|
18 | dispose(): void;
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.