v8.0.6

ht.Animation.Timeline(defaults)

new Timeline(defaults)

Parameters:
Name Type Description
defaults any

Extends

Members

delay :number

Inherited From:

duration :number

Inherited From:

easing :string

Inherited From:

loop :string

Inherited From:

loopDelay :number

Inherited From:

loopMax :number

Inherited From:

progress :number

Inherited From:

stopWhenFinished :boolean

Inherited From:

time :number

Inherited From:

Methods

add(child) → {ht.Animation.Timeline}

Parameters:
Name Type Description
child ht.Animation.Timer

add(child, timelinePosition) → {ht.Animation.Timeline}

Parameters:
Name Type Description
child ht.Animation.Timer
timelinePosition number

add(child, timelinePosition, timelineDuration) → {ht.Animation.Timeline}

Parameters:
Name Type Description
child ht.Animation.Timer
timelinePosition number
timelineDuration number

add(child, childStart, childDuration, timelinePosition, timelineDuration) → {ht.Animation.Timeline}

Parameters:
Name Type Description
child ht.Animation.Timer
childStart number
childDuration number
timelinePosition number
timelineDuration number

clear() → {ht.Animation.Timeline}

clearEvents() → {ht.Animation.TargetedAnimation}

Inherited From:

fireEvent(key) → {ht.Animation.TargetedAnimation}

Parameters:
Name Type Description
key string
Inherited From:

getChildren() → {Array.<any>}

Returns:
Array.<any>

isPaused() → {boolean}

Returns:
boolean
Inherited From:

isRunning() → {boolean}

Returns:
boolean
Inherited From:

off(key, action) → {ht.Animation.TargetedAnimation}

Parameters:
Name Type Description
key string
action function
Inherited From:

on(key, action) → {ht.Animation.TargetedAnimation}

Parameters:
Name Type Description
key string
action function
Inherited From:

pause() → {ht.Animation.TargetedAnimation}

Inherited From:

play(speed, start, loop) → {ht.Animation.TargetedAnimation}

Parameters:
Name Type Description
speed number
start number
loop string
Inherited From:

remove(child) → {ht.Animation.Timeline}

Parameters:
Name Type Description
child ht.Animation.Timer

resume() → {ht.Animation.TargetedAnimation}

Inherited From:

scale(scale) → {ht.Animation.Timer}

Parameters:
Name Type Description
scale number
Inherited From:

scaleTo(duration) → {ht.Animation.Timer}

Parameters:
Name Type Description
duration number
Inherited From:

shift(time) → {ht.Animation.Timer}

Parameters:
Name Type Description
time number
Inherited From:

stop() → {ht.Animation.TargetedAnimation}

Inherited From: