Class: FunctionAnimation

FunctionAnimation

new FunctionAnimation(func)

A TA.Animation object that just defers the start call to the supplied user defined function
Parameters:
Name Type Description
func function user defined function that gets the start() call forwarded (it needs to call complete after it's finished)
Implements:
Source:

Methods

start(obj, completeopt)

Starts the animation
Parameters:
Name Type Attributes Description
obj TA.Object the TA.Object to apply the Animation to
complete function <optional>
function to be called when the animation is finished
Implements:
Source: