@egjs/axes
Version:
A module used to change the information of user action entered by various input devices such as touch screen or mouse into the logical virtual coordinates. You can easily create a UI that responds to user actions.
16 lines (15 loc) • 682 B
TypeScript
import { AxesOption } from "../Axes";
import { AnimationParam, UpdateAnimationOption } from "../types";
import { AnimationManager, AnimationState } from "./AnimationManager";
export declare class EasingManager extends AnimationManager {
protected _useDuration: boolean;
protected _options: AxesOption;
private _durationOffset;
private _initialEasingPer;
private _prevEasingPer;
interpolate(displacement: number, threshold: number): number;
updateAnimation(options: UpdateAnimationOption): void;
protected _initState(info: AnimationParam): AnimationState;
protected _getNextState(prevState: AnimationState): AnimationState;
private _easing;
}