IDeclaredAnimation
Type interfaceSince 5.20.8
An animation described as data, for the animations setting.
Sources
IDeclaredAnimation is an interface: it describes a shape of data and is not imported on its own.
Properties
delayType
undefined|numberDefault0Milliseconds to wait before starting.
durationType
numberDuration in milliseconds. With
yoyo, one way.easeType
"in"|"out"|"inOut"Default"in"Which way the easing applies.
easingType
undefined|stringDefault"linear"Easing by name:
"linear","quad","cubic","exp","sine","circle","bounce"or"elastic".fromType
anyValue to start from. Defaults to the current value.
keyType
stringSetting (or data item value, with
target: "dataItem") to animate.loopsType
undefined|numberDefault1How many times to play it;
0plays it forever.targetType
"self"|"dataItem"Default"self""self"animates a setting of the element;"dataItem"a value of the element's data item.toType
anyValue to animate to.
yoyoType
undefined|false|trueDefaultfalseGo back to
fromafter reachingto, rather than jumping back.