# new Clip(optsopt)
- Source:
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
<optional> |
Properties
|
Members
# delay :number
- Source:
Type:
- number
# gap :number
- Source:
Type:
- number
# life :number
- Source:
Type:
- number
# name :string
- Source:
Type:
- string
# onfinish :function
- Source:
Type:
- function
# onframe :function
- Source:
Type:
- function
# onrestart :function
- Source:
Type:
- function
# playbackRate :number
- Source:
Type:
- number
# target :Object
- Source:
Type:
- Object
Methods
# pause()
- Source:
Pause the clip.
# resume()
- Source:
Resume the clip.
# setEasing(easing)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
easing |
string | function |
# setLoop(loop)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
loop |
number | boolean |
# setTime(time) → {string}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
time |
number |
Returns:
- Type
- string
# step(time) → {string}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
time |
number |
Returns:
- Type
- string