Class: Composition

Composition

new Composition(name)

TA.BaseComposition object that handles basic composition
Parameters:
Name Type Description
name String name of this composition
Implements:
Source:

Methods

getName() → {String}

Returns the name of the object
Implements:
Source:
Returns:
Type
String

register(obj)

Register a TA.BaseObject in this composition
Parameters:
Name Type Description
obj TA.BaseObject
Implements:
Source:

startIn(completeopt)

Starts the "in" Animation
Parameters:
Name Type Attributes Description
complete function <optional>
function to be called once all animations are finished
Implements:
Source:

startOut(completeopt)

Starts the "out" Animation
Parameters:
Name Type Attributes Description
complete function <optional>
function to be called once all animations are finished
Implements:
Source: