IAnimationOptions
Type interface
Defines interface for animation options.
Sources
IAnimationOptions is an interface: it describes a shape of data and is not imported on its own.
Inheritance
IAnimationOptions does not extend any other symbol.
IAnimationOptions is extended by IPercentAnimationOptions, IColorAnimationOptions.
Properties
childObjectType
objectIf current values should be taken from different object than the target element of the animation, this property should be set to that object.
dummyDataType
anysometimes we need to pass some dummy data in animationOptions
fromType
IAnimationOptionAn initial value to animate from.
If omitted, the source value will be current value.
propertyType
anyProperty name to animate.
toType
IAnimationOptionA target value to animate from.
Methods
updateMethod(progress:number,
from:IAnimationOption,
to:IAnimationOption)Returns
IAnimationOptionA method/function reference that will be called to for updating the property value.