source: trip-planner-front/node_modules/@angular/cdk/scrolling/viewport-ruler.d.ts.map@ ceaed42

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

initial commit

  • Property mode set to 100644
File size: 2.4 KB
Line 
1{"version":3,"file":"viewport-ruler.d.ts","sources":["viewport-ruler.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { Platform } from '@angular/cdk/platform';\nimport { NgZone, OnDestroy } from '@angular/core';\nimport { Observable } from 'rxjs';\n/** Time in ms to throttle the resize events by default. */\nexport declare const DEFAULT_RESIZE_TIME = 20;\n/** Object that holds the scroll position of the viewport in each direction. */\nexport interface ViewportScrollPosition {\n top: number;\n left: number;\n}\n/**\n * Simple utility for getting the bounds of the browser viewport.\n * @docs-private\n */\nexport declare class ViewportRuler implements OnDestroy {\n private _platform;\n /** Cached viewport dimensions. */\n private _viewportSize;\n /** Stream of viewport change events. */\n private readonly _change;\n /** Event listener that will be used to handle the viewport change events. */\n private _changeListener;\n /** Used to reference correct document/window */\n protected _document: Document;\n constructor(_platform: Platform, ngZone: NgZone, document: any);\n ngOnDestroy(): void;\n /** Returns the viewport's width and height. */\n getViewportSize(): Readonly<{\n width: number;\n height: number;\n }>;\n /** Gets a ClientRect for the viewport's bounds. */\n getViewportRect(): ClientRect;\n /** Gets the (top, left) scroll position of the viewport. */\n getViewportScrollPosition(): ViewportScrollPosition;\n /**\n * Returns a stream that emits whenever the size of the viewport changes.\n * This stream emits outside of the Angular zone.\n * @param throttleTime Time in milliseconds to throttle the stream.\n */\n change(throttleTime?: number): Observable<Event>;\n /** Use defaultView of injected document if available or fallback to global window reference */\n private _getWindow;\n /** Updates the cached viewport size. */\n private _updateViewportSize;\n}\n"]}
Note: See TracBrowser for help on using the repository browser.