| | |
| | | import { SuperComponent, RelationsOptions } from '../common/src/index'; |
| | | import { RelationsOptions, SuperComponent } from '../common/src/index'; |
| | | export default class PullDownRefresh extends SuperComponent { |
| | | pixelRatio: number; |
| | | startPoint: { |
| | |
| | | isPulling: boolean; |
| | | maxRefreshAnimateTimeFlag: number; |
| | | closingAnimateTimeFlag: number; |
| | | refreshStatusTimer: any; |
| | | externalClasses: string[]; |
| | | behaviors: string[]; |
| | | options: { |
| | | multipleSlots: boolean; |
| | | pureDataPattern: RegExp; |
| | |
| | | data: { |
| | | prefix: string; |
| | | classPrefix: string; |
| | | distanceTop: number; |
| | | barHeight: number; |
| | | tipsHeight: number; |
| | | refreshStatus: number; |
| | |
| | | loadingBarHeight(v: any): void; |
| | | }; |
| | | methods: { |
| | | updateDistanceTop(): void; |
| | | resetTimer(): void; |
| | | onScrollToBottom(): void; |
| | | onScrollToTop(): void; |
| | | onScroll(e: any): void; |