source: trip-planner-front/node_modules/@angular/cdk/overlay/position/scroll-clip.d.ts@ 59329aa

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

initial commit

  • Property mode set to 100644
File size: 1.1 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 */
8/**
9 * Gets whether an element is scrolled outside of view by any of its parent scrolling containers.
10 * @param element Dimensions of the element (from getBoundingClientRect)
11 * @param scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect)
12 * @returns Whether the element is scrolled out of view
13 * @docs-private
14 */
15export declare function isElementScrolledOutsideView(element: ClientRect, scrollContainers: ClientRect[]): boolean;
16/**
17 * Gets whether an element is clipped by any of its scrolling containers.
18 * @param element Dimensions of the element (from getBoundingClientRect)
19 * @param scrollContainers Dimensions of element's scrolling containers (from getBoundingClientRect)
20 * @returns Whether the element is clipped
21 * @docs-private
22 */
23export declare function isElementClippedByScrolling(element: ClientRect, scrollContainers: ClientRect[]): boolean;
Note: See TracBrowser for help on using the repository browser.