1 | import { IPositionStats } from '../../models';
|
2 | export interface IScrollerProps extends IDistanceRange {
|
3 | container: IPositionStats;
|
4 | alwaysCallback: boolean;
|
5 | disabled: boolean;
|
6 | }
|
7 | export interface ITriggerEvents {
|
8 | down: (event: any) => any;
|
9 | up: (event: any) => any;
|
10 | }
|
11 | export interface IDistanceRange {
|
12 | down: number;
|
13 | up: number;
|
14 | }
|
15 | export interface IScrollConfig {
|
16 | alwaysCallback: boolean;
|
17 | shouldFireScrollEvent: boolean;
|
18 | }
|
19 | export declare function shouldTriggerEvents(alwaysCallback: boolean, shouldFireScrollEvent: boolean, isTriggeredCurrentTotal: boolean): boolean;
|