source: trip-planner-front/node_modules/@angular/cdk/scrolling/scrollable.d.ts.map@ e29cc2e

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

initial commit

  • Property mode set to 100644
File size: 4.2 KB
Line 
1{"version":3,"file":"scrollable.d.ts","sources":["scrollable.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;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 { Directionality } from '@angular/cdk/bidi';\nimport { ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { ScrollDispatcher } from './scroll-dispatcher';\nexport declare type _Without<T> = {\n [P in keyof T]?: never;\n};\nexport declare type _XOR<T, U> = (_Without<T> & U) | (_Without<U> & T);\nexport declare type _Top = {\n top?: number;\n};\nexport declare type _Bottom = {\n bottom?: number;\n};\nexport declare type _Left = {\n left?: number;\n};\nexport declare type _Right = {\n right?: number;\n};\nexport declare type _Start = {\n start?: number;\n};\nexport declare type _End = {\n end?: number;\n};\nexport declare type _XAxis = _XOR<_XOR<_Left, _Right>, _XOR<_Start, _End>>;\nexport declare type _YAxis = _XOR<_Top, _Bottom>;\n/**\n * An extended version of ScrollToOptions that allows expressing scroll offsets relative to the\n * top, bottom, left, right, start, or end of the viewport rather than just the top and left.\n * Please note: the top and bottom properties are mutually exclusive, as are the left, right,\n * start, and end properties.\n */\nexport declare type ExtendedScrollToOptions = _XAxis & _YAxis & ScrollOptions;\n/**\n * Sends an event when the directive's element is scrolled. Registers itself with the\n * ScrollDispatcher service to include itself as part of its collection of scrolling events that it\n * can be listened to through the service.\n */\nexport declare class CdkScrollable implements OnInit, OnDestroy {\n protected elementRef: ElementRef<HTMLElement>;\n protected scrollDispatcher: ScrollDispatcher;\n protected ngZone: NgZone;\n protected dir?: Directionality | undefined;\n private readonly _destroyed;\n private _elementScrolled;\n constructor(elementRef: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, ngZone: NgZone, dir?: Directionality | undefined);\n ngOnInit(): void;\n ngOnDestroy(): void;\n /** Returns observable that emits when a scroll event is fired on the host element. */\n elementScrolled(): Observable<Event>;\n /** Gets the ElementRef for the viewport. */\n getElementRef(): ElementRef<HTMLElement>;\n /**\n * Scrolls to the specified offsets. This is a normalized version of the browser's native scrollTo\n * method, since browsers are not consistent about what scrollLeft means in RTL. For this method\n * left and right always refer to the left and right side of the scrolling container irrespective\n * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n * in an RTL context.\n * @param options specified the offsets to scroll to.\n */\n scrollTo(options: ExtendedScrollToOptions): void;\n private _applyScrollToOptions;\n /**\n * Measures the scroll offset relative to the specified edge of the viewport. This method can be\n * used instead of directly checking scrollLeft or scrollTop, since browsers are not consistent\n * about what scrollLeft means in RTL. The values returned by this method are normalized such that\n * left and right always refer to the left and right side of the scrolling container irrespective\n * of the layout direction. start and end refer to left and right in an LTR context and vice-versa\n * in an RTL context.\n * @param from The edge to measure from.\n */\n measureScrollOffset(from: 'top' | 'left' | 'right' | 'bottom' | 'start' | 'end'): number;\n}\n"]}
Note: See TracBrowser for help on using the repository browser.