Skip to content

IColorAnimationOptions

Type interface

An interface for an object defining Color animation.

Sources

IColorAnimationOptions is an interface: it describes a shape of data and is not imported on its own.

Inheritance

IColorAnimationOptions extends IAnimationOptions.

IColorAnimationOptions is not extended by any other symbol.

Properties

from

Type Color

Initial value.

to

Type Color

Target value.

3 inherited items
childObject

Type objectInherited from IAnimationOptions

If current values should be taken from different object than the target element of the animation, this property should be set to that object.

dummyData

Type anyInherited from IAnimationOptions

sometimes we need to pass some dummy data in animationOptions

property

Type anyInherited from IAnimationOptions

Property name to animate.

Methods

1 inherited item
updateMethod(progress: number,
from: IAnimationOption,
to: IAnimationOption
)

Returns IAnimationOptionInherited from IAnimationOptions

A method/function reference that will be called to for updating the property value.