This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rc-tween-one) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
path type. thru same as the path; soft with the curve of attraction facing them, but not through the point; cubic allows you to define standard Cubic Bezier, example: [start, control, control, end].
curviness
0-2
1
This determines how "curvy" the resulting path is. 0 is lines, 1 is curved path, 2 would make it much more curvy. It can be 1.5.
relative
boolean
false
Increase relative to current value. example: if the target's x starts at 100 and the path is [{x:5}, {x:10}, {x:-2}] , it would first move to 105, then 115, and finally end at 113.
ChildrenPlugin
Children = { value:, floatLength, formatMoney };
name
type
default
description
value
number
null
children number to value.
floatLength
number
null
float precision length
formatMoney
true \ { thousand, decimal }
null
format number to money.
formatMoney = { thousand, decimal }
name
type
default
description
thousand
string
,
no explanation.
decimal
string
.
no explanation.
TweenOneGroup
name
type
default
description
appear
boolean
true
whether support appear anim
enter
object / array / func
{ x: 30, opacity: 0, type: 'from' }
enter anim twee-one data. when array is tween-one timeline, func refer to queue-anim
leave
object / array / func
{ x: 30, opacity: 0 }
leave anim twee-one data. when array is tween-one timeline, func refer to queue-anim
onEnd
func
-
one animation end callback
animatingClassName
array
['tween-one-entering', 'tween-one-leaving']
className to every element of animating
resetStyle
boolean
true
TweenOne resetStyle, reset the initial style when changing animation.
exclusive
boolean
false
Whether to allow a new animate to execute immediately when switching. enter => leave: execute immediately leave