Search
Preparing search index...
The search index is not available
JSDK 2.7.0 API
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
JS
an
Timeline
Class Timeline
Hierarchy
Timeline
Index
Constructors
constructor
Properties
_bus
_cfg
_targets
Methods
add
off
on
play
Constructors
constructor
new
Timeline
(
cfg
:
TimelineInit
)
:
Timeline
Parameters
cfg:
TimelineInit
Returns
Timeline
Properties
Protected
_bus
_bus
:
EventBus
= new EventBus(this)
Protected
_cfg
_cfg
:
TimelineInit
Protected
_targets
_targets
:
Array
<
HTMLElement
|
object
>
Methods
add
add
(
a
:
TimedTweenAnimInit
|
TimedFrameAnimInit
, start
?:
number
)
:
this
Parameters
a:
TimedTweenAnimInit
|
TimedFrameAnimInit
Optional
start:
number
Returns
this
off
off
(
ev
?:
string
)
:
this
Parameters
Optional
ev:
string
Returns
this
on
on
(
ev
:
string
, fn
:
EventHandler
<
this
>
)
:
this
Parameters
ev:
string
fn:
EventHandler
<
this
>
Returns
this
play
play
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Globals
JS
an
app
core
d2
ds
fx
input
ioc
lang
math
media
model
net
store
sugar
ui
unit
util
view
Timeline
constructor
_bus
_cfg
_targets
add
off
on
play