Class: Animation

Constructors

constructor

+ new Animation(cfg: Record<string, unknown>, target: Record<string, unknown>, prop: string, to?: unknown): Animation

Parameters:

NameType
cfgRecord<string, unknown>
targetRecord<string, unknown>
propstring
to?unknown

Returns: Animation

Defined in: animation.d.ts:4Animation - 图1 (opens new window)

Methods

active

active(): boolean

Returns: boolean

Defined in: animation.d.ts:6Animation - 图2 (opens new window)


cancel

cancel(): void

Returns: void

Defined in: animation.d.ts:8Animation - 图3 (opens new window)


tick

tick(date: number): void

Parameters:

NameType
datenumber

Returns: void

Defined in: animation.d.ts:9Animation - 图4 (opens new window)


update

update(cfg: Record<string, unknown>, to: unknown, date: number): void

Parameters:

NameType
cfgRecord<string, unknown>
tounknown
datenumber

Returns: void

Defined in: animation.d.ts:7Animation - 图5 (opens new window)