UNPKG

@angular/material

Version:
15 lines (14 loc) 506 B
/** * @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 */ /** Strategy for setting the position on an overlay. */ export interface PositionStrategy { /** Updates the position of the overlay element. */ apply(element: Element): Promise<void>; /** Cleans up any DOM modifications made by the position strategy, if necessary. */ dispose(): void; }