1 | import { InjectionToken } from '@angular/core';
|
2 | export declare const PERFECT_SCROLLBAR_CONFIG: InjectionToken<unknown>;
|
3 | export declare class Geometry {
|
4 | x: number;
|
5 | y: number;
|
6 | w: number;
|
7 | h: number;
|
8 | constructor(x: number, y: number, w: number, h: number);
|
9 | }
|
10 | export declare class Position {
|
11 | x: number | 'start' | 'end';
|
12 | y: number | 'start' | 'end';
|
13 | constructor(x: number | 'start' | 'end', y: number | 'start' | 'end');
|
14 | }
|
15 | export declare type PerfectScrollbarEvent = 'psScrollY' | 'psScrollX' | 'psScrollUp' | 'psScrollDown' | 'psScrollLeft' | 'psScrollRight' | 'psYReachEnd' | 'psYReachStart' | 'psXReachEnd' | 'psXReachStart';
|
16 | export declare const PerfectScrollbarEvents: PerfectScrollbarEvent[];
|
17 | export interface PerfectScrollbarConfigInterface {
|
18 | handlers?: string[];
|
19 | wheelSpeed?: number;
|
20 | swipeEasing?: boolean;
|
21 | suppressScrollX?: boolean;
|
22 | suppressScrollY?: boolean;
|
23 | wheelPropagation?: boolean;
|
24 | useBothWheelAxes?: boolean;
|
25 | scrollingThreshold?: number;
|
26 | minScrollbarLength?: number;
|
27 | maxScrollbarLength?: number;
|
28 | scrollXMarginOffset?: number;
|
29 | scrollYMarginOffset?: number;
|
30 | }
|
31 | export declare class PerfectScrollbarConfig implements PerfectScrollbarConfigInterface {
|
32 | handlers?: string[];
|
33 | wheelSpeed?: number;
|
34 | swipeEasing?: boolean;
|
35 | suppressScrollX?: boolean;
|
36 | suppressScrollY?: boolean;
|
37 | wheelPropagation?: boolean;
|
38 | useBothWheelAxes?: boolean;
|
39 | scrollingThreshold?: number;
|
40 | minScrollbarLength?: number;
|
41 | maxScrollbarLength?: number;
|
42 | scrollXMarginOffset?: number;
|
43 | scrollYMarginOffset?: number;
|
44 | constructor(config?: PerfectScrollbarConfigInterface);
|
45 | assign(config?: PerfectScrollbarConfigInterface): void;
|
46 | }
|