UNPKG

rc-tween-one

Version:
25 lines (24 loc) 619 B
import type { IObject } from '../type'; interface IFormatMoney { thousand?: string; decimal?: string; } interface IVars { value: number; floatLength: number; formatMoney?: IFormatMoney; } declare class ChildrenPlugin { static key: string; static className: string; start?: IVars; startAt?: IObject; target?: HTMLElement; vars: IVars; key: string; constructor(vars: IVars, key: string); getAnimStart: () => IVars | undefined; toMoney: (v: string, _opts: IFormatMoney) => string; render: (ratio: number) => string | number; } export default ChildrenPlugin;