Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
createjs
Tween
Class Tween
Hierarchy
createjs.EventDispatcher
Tween
Index
Constructor methods
constructor
Properties
IGNORE
LOOP
NONE
REVERSE
duration
ignoreGlobalPause
loop
onChange
passive
pluginData
position
target
Methods
addEventListener
call
dispatchEvent
get
hasActiveTweens
hasEventListener
installPlugin
off
on
pause
play
removeAllEventListeners
removeAllTweens
removeEventListener
removeTweens
set
setPaused
setPosition
tick
tick
to
toString
wait
willTrigger
Constructor methods
constructor
(
target
:
Object
, props
?:
Object
, pluginData
?:
Object
)
:
Tween
Parameters
target:
Object
props?:
Object
optional
pluginData?:
Object
optional
Returns
Tween
Properties
public
static
IGNORE
:
Object
public
static
LOOP
:
number
public
static
NONE
:
number
public
static
REVERSE
:
number
public
duration
:
number
public
ignoreGlobalPause
:
boolean
public
loop
:
boolean
public
onChange
:
Function
public
passive
:
boolean
public
pluginData
:
Object
public
position
:
number
public
target
:
Object
Methods
public
addEventListener
(
type
:
string
, listener
:
(eventObj: Object) => boolean
, useCapture
?:
boolean
)
:
Function
Parameters
type:
string
listener:
(eventObj: Object) => boolean
useCapture?:
boolean
optional
Returns
Function
public
addEventListener
(
type
:
string
, listener
:
(eventObj: Object) => void
, useCapture
?:
boolean
)
:
Function
Parameters
type:
string
listener:
(eventObj: Object) => void
useCapture?:
boolean
optional
Returns
Function
public
addEventListener
(
type
:
string
, listener
:
{ handleEvent: (eventObj: Object) => boolean; }
, useCapture
?:
boolean
)
:
Object
Parameters
type:
string
listener:
{ handleEvent: (eventObj: Object) => boolean; }
useCapture?:
boolean
optional
Returns
Object
public
addEventListener
(
type
:
string
, listener
:
{ handleEvent: (eventObj: Object) => void; }
, useCapture
?:
boolean
)
:
Object
Parameters
type:
string
listener:
{ handleEvent: (eventObj: Object) => void; }
useCapture?:
boolean
optional
Returns
Object
public
call
(
callback
:
(tweenObject: createjs.Tween) => any
, params
?:
Array<any>
, scope
?:
Object
)
:
Tween
Parameters
callback:
(tweenObject: createjs.Tween) => any
params?:
Array<any>
optional
scope?:
Object
optional
Returns
Tween
public
call
(
callback
:
(...params: any[]) => any
, params
?:
Array<any>
, scope
?:
Object
)
:
Tween
Parameters
callback:
(...params: any[]) => any
params?:
Array<any>
optional
scope?:
Object
optional
Returns
Tween
public
dispatchEvent
(
eventObj
:
Object
, target
?:
Object
)
:
boolean
Parameters
eventObj:
Object
target?:
Object
optional
Returns
boolean
public
dispatchEvent
(
eventObj
:
string
, target
?:
Object
)
:
boolean
Parameters
eventObj:
string
target?:
Object
optional
Returns
boolean
public
dispatchEvent
(
eventObj
:
createjs.Event
, target
?:
Object
)
:
boolean
Parameters
eventObj:
createjs.Event
target?:
Object
optional
Returns
boolean
public
static
get
(
target
:
Object
, props
?:
Object
, pluginData
?:
Object
, override
?:
boolean
)
:
Tween
Parameters
target:
Object
props?:
Object
optional
pluginData?:
Object
optional
override?:
boolean
optional
Returns
Tween
public
static
hasActiveTweens
(
target
?:
Object
)
:
boolean
Parameters
target?:
Object
optional
Returns
boolean
public
hasEventListener
(
type
:
string
)
:
boolean
Parameters
type:
string
Returns
boolean
public
static
installPlugin
(
plugin
:
Object
, properties
:
Array<any>
)
Parameters
plugin:
Object
properties:
Array<any>
public
off
(
type
:
string
, listener
:
(eventObj: Object) => boolean
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
(eventObj: Object) => boolean
useCapture?:
boolean
optional
public
off
(
type
:
string
, listener
:
(eventObj: Object) => void
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
(eventObj: Object) => void
useCapture?:
boolean
optional
public
off
(
type
:
string
, listener
:
{ handleEvent: (eventObj: Object) => boolean; }
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
{ handleEvent: (eventObj: Object) => boolean; }
useCapture?:
boolean
optional
public
off
(
type
:
string
, listener
:
{ handleEvent: (eventObj: Object) => void; }
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
{ handleEvent: (eventObj: Object) => void; }
useCapture?:
boolean
optional
public
off
(
type
:
string
, listener
:
Function
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
Function
useCapture?:
boolean
optional
public
on
(
type
:
string
, listener
:
(eventObj: Object) => boolean
, scope
?:
Object
, once
?:
boolean
, data
?:
any
, useCapture
?:
boolean
)
:
Function
Parameters
type:
string
listener:
(eventObj: Object) => boolean
scope?:
Object
optional
once?:
boolean
optional
data?:
any
optional
useCapture?:
boolean
optional
Returns
Function
public
on
(
type
:
string
, listener
:
(eventObj: Object) => void
, scope
?:
Object
, once
?:
boolean
, data
?:
any
, useCapture
?:
boolean
)
:
Function
Parameters
type:
string
listener:
(eventObj: Object) => void
scope?:
Object
optional
once?:
boolean
optional
data?:
any
optional
useCapture?:
boolean
optional
Returns
Function
public
on
(
type
:
string
, listener
:
{ handleEvent: (eventObj: Object) => boolean; }
, scope
?:
Object
, once
?:
boolean
, data
?:
any
, useCapture
?:
boolean
)
:
Object
Parameters
type:
string
listener:
{ handleEvent: (eventObj: Object) => boolean; }
scope?:
Object
optional
once?:
boolean
optional
data?:
any
optional
useCapture?:
boolean
optional
Returns
Object
public
on
(
type
:
string
, listener
:
{ handleEvent: (eventObj: Object) => void; }
, scope
?:
Object
, once
?:
boolean
, data
?:
any
, useCapture
?:
boolean
)
:
Object
Parameters
type:
string
listener:
{ handleEvent: (eventObj: Object) => void; }
scope?:
Object
optional
once?:
boolean
optional
data?:
any
optional
useCapture?:
boolean
optional
Returns
Object
public
pause
(
tween
:
Tween
)
:
Tween
Parameters
tween:
Tween
Returns
Tween
public
play
(
tween
:
Tween
)
:
Tween
Parameters
tween:
Tween
Returns
Tween
public
removeAllEventListeners
(
type
?:
string
)
Parameters
type?:
string
optional
public
static
removeAllTweens
(
)
public
removeEventListener
(
type
:
string
, listener
:
(eventObj: Object) => boolean
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
(eventObj: Object) => boolean
useCapture?:
boolean
optional
public
removeEventListener
(
type
:
string
, listener
:
(eventObj: Object) => void
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
(eventObj: Object) => void
useCapture?:
boolean
optional
public
removeEventListener
(
type
:
string
, listener
:
{ handleEvent: (eventObj: Object) => boolean; }
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
{ handleEvent: (eventObj: Object) => boolean; }
useCapture?:
boolean
optional
public
removeEventListener
(
type
:
string
, listener
:
{ handleEvent: (eventObj: Object) => void; }
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
{ handleEvent: (eventObj: Object) => void; }
useCapture?:
boolean
optional
public
removeEventListener
(
type
:
string
, listener
:
Function
, useCapture
?:
boolean
)
Parameters
type:
string
listener:
Function
useCapture?:
boolean
optional
public
static
removeTweens
(
target
:
Object
)
Parameters
target:
Object
public
set
(
props
:
Object
, target
?:
Object
)
:
Tween
Parameters
props:
Object
target?:
Object
optional
Returns
Tween
public
setPaused
(
value
:
boolean
)
:
Tween
Parameters
value:
boolean
Returns
Tween
public
setPosition
(
value
:
number
, actionsMode
:
number
)
:
boolean
Parameters
value:
number
actionsMode:
number
Returns
boolean
public
static
tick
(
delta
:
number
, paused
:
boolean
)
Parameters
delta:
number
paused:
boolean
public
tick
(
delta
:
number
, paused
:
boolean
)
Parameters
delta:
number
paused:
boolean
public
tick
(
delta
:
number
)
Parameters
delta:
number
public
to
(
props
:
Object
, duration
?:
number
, ease
?:
(t: number) => number
)
:
Tween
Parameters
props:
Object
duration?:
number
optional
ease?:
(t: number) => number
optional
Returns
Tween
public
toString
(
)
:
string
Returns
string
public
wait
(
duration
:
number
, passive
?:
boolean
)
:
Tween
Parameters
duration:
number
passive?:
boolean
optional
Returns
Tween
public
willTrigger
(
type
:
string
)
:
boolean
Parameters
type:
string
Returns
boolean
Globals
createjs
SpriteSheetAnimation
SpriteSheetFrame
AlphaMapFilter
AlphaMaskFilter
Bitmap
BitmapAnimation
BitmapText
BlurFilter
ButtonHelper
CSSPlugin
ColorFilter
ColorMatrix
ColorMatrixFilter
Command
Container
DOMElement
DisplayObject
Ease
EaselJS
Filter
Graphics
Matrix2D
MotionGuidePlugin
MouseEvent
MovieClip
MovieClipPlugin
Point
Rectangle
Shadow
Shape
Sprite
SpriteSheet
SpriteSheetBuilder
SpriteSheetUtils
Stage
Text
Ticker
TickerEvent
Timeline
Touch
Tween
constructor
IGNORE
LOOP
NONE
REVERSE
duration
ignoreGlobalPause
loop
onChange
passive
pluginData
position
target
addEventListener
call
dispatchEvent
get
hasActiveTweens
hasEventListener
installPlugin
off
on
pause
play
removeAllEventListeners
removeAllTweens
removeEventListener
removeTweens
set
setPaused
setPosition
tick
tick
to
toString
wait
willTrigger
TweenJS
UID