UNPKG

2.47 kBTypeScriptView Raw
1import withScrollBar from './withScrollBar';
2import ScrollBarView from './scrollBarView';
3export { withScrollBar, ScrollBarView };
4declare const _default: {
5 new (props: import("./withScrollBar").ScrollBarProps): {
6 willMount(): any;
7 render(): import("../..").JSX.Element;
8 startRange: {
9 x?: import("../zoom").ZoomRange;
10 y?: import("../zoom").ZoomRange;
11 };
12 scale: {};
13 originScale: {};
14 minScale: number;
15 dims: String[];
16 swipeEnd: {
17 startX: number;
18 startY: number;
19 endX: number;
20 endY: number;
21 };
22 loop: any;
23 didMount(): void;
24 willReceiveProps(nextProps: import("./withScrollBar").ScrollBarProps): void;
25 didUnmount(): void;
26 onStart: () => void;
27 onPan: (ev: any) => void;
28 update(): void;
29 onSwipe: (ev: any) => void;
30 onPinch: (ev: any) => void;
31 onEnd: () => void;
32 _doXPan(ev: any): import("../zoom").ZoomRange;
33 _doYPan(ev: any): import("../zoom").ZoomRange;
34 _doPan(ratio: number, dim: string): import("../zoom").ZoomRange;
35 _doXPinch(ev: any): any;
36 _doYPinch(ev: any): any;
37 _doPinch(startRatio: number, endRatio: number, zoom: number, dim: string): any;
38 updateRange(originalRange: import("../zoom").ZoomRange, dim: any): import("../zoom").ZoomRange;
39 updateFollow(scales: import("@antv/scale").Scale[], mainScale: import("@antv/scale").Scale, data: any[]): void;
40 _getScale(dim: any): any;
41 _getFollowScales(dim: any): any[];
42 _bindEvents(): void;
43 _clearEvents(): void;
44 props: import("./withScrollBar").ScrollBarProps;
45 state: import("../zoom").ZoomState;
46 context: import("../../base/component").ComponentContext;
47 refs: {
48 [key: string]: import("../../base/component").default<any, any>;
49 };
50 updater: import("../../base/component").Updater<import("../zoom").ZoomState>;
51 children: import("../..").JSX.Element;
52 container: any;
53 animate: boolean;
54 destroyed: boolean;
55 willUpdate(): void;
56 didUpdate(): void;
57 setState(partialState: import("../zoom").ZoomState, callback?: () => void): void;
58 forceUpdate(callback?: () => void): void;
59 setAnimate(animate: boolean): void;
60 destroy(): void;
61 };
62};
63export default _default;