source: trip-planner-front/node_modules/@angular/cdk/platform/features/scrolling.d.ts@ 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: 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/** The possible ways the browser may handle the horizontal scroll axis in RTL languages. */
9export declare const enum RtlScrollAxisType {
10 /**
11 * scrollLeft is 0 when scrolled all the way left and (scrollWidth - clientWidth) when scrolled
12 * all the way right.
13 */
14 NORMAL = 0,
15 /**
16 * scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled
17 * all the way right.
18 */
19 NEGATED = 1,
20 /**
21 * scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled
22 * all the way right.
23 */
24 INVERTED = 2
25}
26/** Check whether the browser supports scroll behaviors. */
27export declare function supportsScrollBehavior(): boolean;
28/**
29 * Checks the type of RTL scroll axis used by this browser. As of time of writing, Chrome is NORMAL,
30 * Firefox & Safari are NEGATED, and IE & Edge are INVERTED.
31 */
32export declare function getRtlScrollAxisType(): RtlScrollAxisType;
Note: See TracBrowser for help on using the repository browser.