Skip to content

IPercentAnimationOptions

Type interface

An interface for an object defining Percent animation.

Sources

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

Inheritance

IPercentAnimationOptions extends IAnimationOptions.

IPercentAnimationOptions is not extended by any other symbol.

Properties

from

Type Percent

Initial value.

to

Type Percent

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.