# Class: Animation
# Constructors
# constructor
• new Animation(cfg
, target
, prop
, to?
)
# Parameters
Name | Type |
---|---|
cfg | AnyObject |
target | AnyObject |
prop | string |
to? | unknown |
# Defined in
types/animation.d.ts:5
# Properties
# _to
• Readonly
_to: unknown
# Defined in
types/animation.d.ts:10
# Methods
# active
▸ active(): boolean
# Returns
boolean
# Defined in
types/animation.d.ts:6
# cancel
▸ cancel(): void
# Returns
void
# Defined in
types/animation.d.ts:8
# tick
▸ tick(date
): void
# Parameters
Name | Type |
---|---|
date | number |
# Returns
void
# Defined in
types/animation.d.ts:9
# update
▸ update(cfg
, to
, date
): void
# Parameters
Name | Type |
---|---|
cfg | AnyObject |
to | unknown |
date | number |
# Returns
void
# Defined in
types/animation.d.ts:7