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 Returns:
ht.Animation.Timeline -
add(child, timelinePosition) → {ht.Animation.Timeline}
-
Parameters:
Name Type Description child
ht.Animation.Timer timelinePosition
number Returns:
ht.Animation.Timeline -
add(child, timelinePosition, timelineDuration) → {ht.Animation.Timeline}
-
Parameters:
Name Type Description child
ht.Animation.Timer timelinePosition
number timelineDuration
number Returns:
ht.Animation.Timeline -
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 Returns:
ht.Animation.Timeline -
clear() → {ht.Animation.Timeline}
-
Returns:
ht.Animation.Timeline -
clearEvents() → {ht.Animation.TargetedAnimation}
-
Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
fireEvent(key) → {ht.Animation.TargetedAnimation}
-
Parameters:
Name Type Description key
string Returns:
ht.Animation.TargetedAnimation- 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 Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
on(key, action) → {ht.Animation.TargetedAnimation}
-
Parameters:
Name Type Description key
string action
function Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
pause() → {ht.Animation.TargetedAnimation}
-
Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
play(speed, start, loop) → {ht.Animation.TargetedAnimation}
-
Parameters:
Name Type Description speed
number start
number loop
string Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
remove(child) → {ht.Animation.Timeline}
-
Parameters:
Name Type Description child
ht.Animation.Timer Returns:
ht.Animation.Timeline -
resume() → {ht.Animation.TargetedAnimation}
-
Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
scale(scale) → {ht.Animation.Timer}
-
Parameters:
Name Type Description scale
number Returns:
ht.Animation.Timer- Inherited From:
-
scaleTo(duration) → {ht.Animation.Timer}
-
Parameters:
Name Type Description duration
number Returns:
ht.Animation.Timer- Inherited From:
-
shift(time) → {ht.Animation.Timer}
-
Parameters:
Name Type Description time
number Returns:
ht.Animation.Timer- Inherited From:
-
stop() → {ht.Animation.TargetedAnimation}
-
Returns:
ht.Animation.TargetedAnimation- Inherited From: