1 | import { Behavior } from './scroller/Behavior';
|
2 | import Actions from './scroller/Actions';
|
3 | import { ExposedAPI as ExposedAPIByScroller } from './scroller/Scroller';
|
4 | import { Animater } from './animater';
|
5 | import { ExposedAPI as ExposedAPIByAnimater } from './animater/Base';
|
6 | export interface BScrollInstance extends ExposedAPIByScroller, ExposedAPIByAnimater {
|
7 | [key: string]: any;
|
8 | x: Behavior['currentPos'];
|
9 | y: Behavior['currentPos'];
|
10 | hasHorizontalScroll: Behavior['hasScroll'];
|
11 | hasVerticalScroll: Behavior['hasScroll'];
|
12 | scrollerWidth: Behavior['contentSize'];
|
13 | scrollerHeight: Behavior['contentSize'];
|
14 | maxScrollX: Behavior['maxScrollPos'];
|
15 | maxScrollY: Behavior['maxScrollPos'];
|
16 | minScrollX: Behavior['minScrollPos'];
|
17 | minScrollY: Behavior['minScrollPos'];
|
18 | movingDirectionX: Behavior['movingDirection'];
|
19 | movingDirectionY: Behavior['movingDirection'];
|
20 | directionX: Behavior['direction'];
|
21 | directionY: Behavior['direction'];
|
22 | enabled: Actions['enabled'];
|
23 | pending: Animater['pending'];
|
24 | }
|
25 | export declare const propertiesConfig: {
|
26 | sourceKey: string;
|
27 | key: string;
|
28 | }[];
|