UNPKG

@better-scroll/core

Version:

Minimalistic core scrolling for BetterScroll, it is pure and tiny

10 lines (9 loc) 362 B
import Base from './Base'; import { TranslaterPoint } from '../translater'; import { EaseFn } from '@better-scroll/shared-utils'; export default class Animation extends Base { move(startPoint: TranslaterPoint, endPoint: TranslaterPoint, time: number, easingFn: EaseFn | string): void; private animate; doStop(): boolean; stop(): void; }