Class: Animation

Constructors

constructor

new Animation(cfg, target, prop, to?)

Parameters

NameType
cfgAnyObject
targetAnyObject
propstring
to?unknown

Defined in

types/animation.d.ts:5Animation - 图1 (opens new window)

Properties

_to

Readonly _to: unknown

Defined in

types/animation.d.ts:10Animation - 图2 (opens new window)

Methods

active

active(): boolean

Returns

boolean

Defined in

types/animation.d.ts:6Animation - 图3 (opens new window)


cancel

cancel(): void

Returns

void

Defined in

types/animation.d.ts:8Animation - 图4 (opens new window)


tick

tick(date): void

Parameters

NameType
datenumber

Returns

void

Defined in

types/animation.d.ts:9Animation - 图5 (opens new window)


update

update(cfg, to, date): void

Parameters

NameType
cfgAnyObject
tounknown
datenumber

Returns

void

Defined in

types/animation.d.ts:7Animation - 图6 (opens new window)