Class: Loop

lime.animation.Loop

new lime.animation.Loop(action)

Loop animation again after it has finished
Parameters:
Name Type Description
action lime.animation.Animation Animation to loop.
Source:

Extends

Methods

addTarget()

Source:
See:

getLimit() → {number}

Return the run limit value for animation. 0 means no limit.
Source:
Returns:
Limit.
Type
number

<private> handleActionEnd_()

Handle action end. Start new action or stop if limit reached.
Source:

initTarget()

Source:
See:

play()

Source:
See:

removeTarget()

Source:
See:

setLimit(value) → {lime.animation.Loop}

Set new run limit for animation. 0 means no limit/infinity.
Parameters:
Name Type Description
value number New limit value.
Source:
Returns:
object itself.
Type
lime.animation.Loop

stop()

Source:
See: