1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- import { SuperComponent } from '../common/src/index';
- export default class PullDownRefresh extends SuperComponent {
- pixelRatio: number;
- startPoint: {
- pageX: number;
- pageY: number;
- } | null;
- isPulling: boolean;
- maxBarHeight: number;
- loadingBarHeight: number;
- maxRefreshAnimateTimeFlag: number;
- closingAnimateTimeFlag: number;
- externalClasses: string[];
- options: {
- multipleSlots: boolean;
- };
- properties: import("./type").TdPullDownRefreshProps;
- data: {
- prefix: string;
- classPrefix: string;
- barHeight: number;
- refreshStatus: number;
- loosing: boolean;
- enableToRefresh: boolean;
- scrollTop: number;
- };
- lifetimes: {
- attached(): void;
- detached(): void;
- };
- observers: {
- value(val: any): void;
- maxBarHeight(val: any): void;
- loadingBarHeight(val: any): void;
- };
- methods: {
- onScrollToBottom(): void;
- onScrollToTop(): void;
- onScroll(e: any): void;
- onTouchStart(e: WechatMiniprogram.Component.TrivialInstance): void;
- onTouchMove(e: WechatMiniprogram.Component.TrivialInstance): void;
- onTouchEnd(e: WechatMiniprogram.Component.TrivialInstance): void;
- toRpx(v: number | string): number;
- toPx(v: number): number;
- setRefreshBarHeight(barHeight: number): Promise<unknown>;
- close(): void;
- setScrollTop(scrollTop: number): void;
- scrollToTop(): void;
- };
- }
|