v8.0.6

ht.Animation.TargetedAnimation(clip, target, defaults)

new TargetedAnimation(clip, target, defaults)

Parameters:
Name Type Attributes Description
clip any
target any
defaults any <optional>

Extends

Members

delay :number

Inherited From:

duration :number

Inherited From:

easing :string

Inherited From:

loop :string

Overrides:

loopDelay :number

Inherited From:

loopMax :number

Inherited From:

progress :number

Inherited From:

stopWhenFinished :boolean

Inherited From:

time :number

Inherited From:

Methods

clearEvents() → {ht.Animation.TargetedAnimation}

Inherited From:

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

Parameters:
Name Type Description
key string
Inherited From:

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:

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: