Class: Object

Object

new Object(name, $e, anis, settings)

TA.BaseObject that represents a real object
Parameters:
Name Type Description
name String name of the object
$e Object DOM element of the object
anis Object object that contains TA.Animation (anis.in and anis.out - both are options)
settings TA.ObjectSettings | Array.<TA.ObjectSettings> object settings
Implements:
Source:

Methods

addSettings(settingsopt)

Parameters:
Name Type Attributes Description
settings TA.Settings <optional>
settings object to add
Source:

clone(overrideSettingsopt) → {TAObject}

Clones this TA.Object and overrides some settings
Parameters:
Name Type Attributes Description
overrideSettings Object <optional>
settings object containing name and optionally $e, anis and settings
Source:
Returns:
Type
TAObject

clone()

Source:

getElement() → {Object}

Returns the DOM object
Implements:
Source:
Returns:
Type
Object

getName() → {String}

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

start(name, completeopt)

Starts the name Animation
Parameters:
Name Type Attributes Description
name String name of animation to start
complete function <optional>
function to be called once all animations are finished
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: