StyleAnimation

StyleAnimation

new StyleAnimation(target, key, settings)

An animation that changes the specified style for each frame.
Parameters:
Name Type Description
target HTMLElement
key string
settings Object
Properties
Name Type Attributes Description
beginValue number <optional>
finishValue number
suffix string <optional>
method FunctionalAnimation.methods <optional>
duration number <optional>
Source:

Extends

Methods

finish(finishHandler) → {FunctionalAnimation}

Set finish handler.
Parameters:
Name Type Description
finishHandler function
Inherited From:
Source:

start(delay) → {FunctionalAnimation}

Start an animation.
Parameters:
Name Type Description
delay number milliseconds
Inherited From:
Source: